Skip to contents

Returns information on draft prospects

Usage

nhl_draft_prospects()

Value

Returns a tibble with the following columns:

col_nametypes
prospect_idinteger
full_namecharacter
linkcharacter
first_namecharacter
last_namecharacter
birth_datecharacter
birth_citycharacter
birth_countrycharacter
heightcharacter
weightinteger
shoots_catchescharacter
nhl_player_idinteger
draft_statuscharacter
birth_state_provincecharacter
primary_position_codecharacter
primary_position_namecharacter
primary_position_typecharacter
primary_position_abbreviationcharacter
prospect_category_idinteger
prospect_category_short_namecharacter
prospect_category_namecharacter
amateur_team_namecharacter
amateur_team_linkcharacter
amateur_league_namecharacter
amateur_league_linkcharacter
ranks_midterminteger
ranks_final_rankinteger
ranks_draft_yearinteger

Examples

# \donttest{
   try(nhl_draft_prospects())
#> ── NHL Draft Prospects data from NHL.com ────────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:48 UTC
#> # A tibble: 11,879 × 27
#>    prospec…¹ full_…² link  first…³ last_…⁴ birth…⁵ birth…⁶ birth…⁷ height weight
#>        <int> <chr>   <chr> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <int>
#>  1    100459 Timur … /api… Timur   Sedlec… 2005-0… Klaipe… LTU     "5' 1…    152
#>  2     89121 Joe Ca… /api… Joe     Calvar… 2003-0… NA      NA      "6' 0…    178
#>  3     83047 Joonas… /api… Joonas  Parvia… 2002-0… Lohja   FIN     "5' 1…    174
#>  4     95280 Josef … /api… Josef   Esler   2004-0… NA      CZE     "6' 0…    202
#>  5     99904 Kirill… /api… Kirill  Nikole… 2005-0… Perm    RUS     "6' 1…    165
#>  6     90629 Emeric… /api… Emeric  Jeanso… 2004-0… NA      NA       NA        NA
#>  7     91325 Dmitri… /api… Dmitri  Kadulin 2003-0… Tyumen  RUS     "5' 9…    146
#>  8     95556 Tim Ty… /api… Tim     Tychon… 2004-0… NA      NA      "5' 1…    165
#>  9     90541 Charle… /api… Charles Juneau  2004-0… NA      NA       NA        NA
#> 10     91110 Nikola… /api… Nikolai Grachy… 2003-0… Moscow  RUS     "6' 3…    198
#> # … with 11,869 more rows, 17 more variables: shoots_catches <chr>,
#> #   draft_status <chr>, birth_state_province <chr>, nhl_player_id <int>,
#> #   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>, …
# }