Get the results of a past NBA draft from RealGM.
One row per selection (rounds 1 and 2, labelled by round) plus the listed
undrafted players (round = NA), including pre-draft team / international
club, age, years of service and nationality.
Requires a headless browser (see realgm_players()).
Usage
realgm_draft(year = most_recent_nba_season() - 1L)Value
A hoopR_data tibble carrying draft_year and round columns:
| col_name | types | description |
| pick | integer | Overall pick number (NA for undrafted). |
| player | character | Player name. |
| team | character | Drafting team abbreviation. |
| draft_trades | character | Draft-night trade note, if any. |
| pos | character | Position. |
| ht | character | Listed height. |
| wt | integer | Listed weight (lbs). |
| age | numeric | Age at draft. |
| yos | integer | Years of service since. |
| pre_draft_team | character | Pre-draft team / school / club. |
| class | character | College class / draft eligibility note. |
| nationality | character | Player nationality. |
| round | integer | Draft round (1, 2, or NA undrafted). |
| draft_year | numeric | Draft year (echoes year). |
See also
Other RealGM Functions:
realgm_coaches(),
realgm_draft_prospects(),
realgm_early_entry(),
realgm_future_free_agents(),
realgm_gms(),
realgm_individual_games(),
realgm_individual_seasons(),
realgm_player_stats(),
realgm_players(),
realgm_players_abroad(),
realgm_rookie_scale(),
realgm_salary_cap(),
realgm_standings(),
realgm_team_stats(),
realgm_teams(),
realgm_transactions()
Examples
if (FALSE) { # \dontrun{
try(realgm_draft(year = 2020))
} # }
