Skip to contents

Returns information on draft prospect for a given prospect id

Usage

nhl_draft_prospects_info(prospect_id)

Arguments

prospect_id

Prospect unique ID

Value

Returns a data frame: * prospect_id - * full_name - * link - * first_name - * last_name - * birth_date - * birth_city - * birth_country - * nationality - * height - * weight - * shoots_catches - * nhl_player_id - * primary_position_code - * primary_position_name - * primary_position_type - * primary_position_abbreviation - * prospect_category_id - * prospect_category_short_name - * prospect_category_name - * amateur_team_link - * amateur_league_link -

Examples

# \donttest{
   try(nhl_draft_prospects_info(prospect_id = 65242))
#> ── NHL Draft Prospects Information from NHL.com ─────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:48 UTC
#> # A tibble: 1 × 25
#>   prospec…¹ full_…² link  first…³ last_…⁴ birth…⁵ birth…⁶ birth…⁷ natio…⁸ height
#>       <int> <chr>   <chr> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr> 
#> 1     65242 Nico H… /api… Nico    Hischi… 1999-0… Naters  CHE     CHE     "6' 2…
#> # … with 15 more variables: weight <int>, shoots_catches <chr>,
#> #   nhl_player_id <int>, draft_status <chr>, primary_position_code <chr>,
#> #   primary_position_name <chr>, primary_position_type <chr>,
#> #   primary_position_abbreviation <chr>, prospect_category_id <int>,
#> #   prospect_category_short_name <chr>, prospect_category_name <chr>,
#> #   amateur_team_name <chr>, amateur_team_link <chr>,
#> #   amateur_league_name <chr>, amateur_league_link <chr>, and abbreviated …
# }