Get NBA draft results with career stats from Basketball-Reference.
Returns every pick of a draft, paired with the player's career totals and
advanced metrics. No API key is required. Basketball-Reference rate-limits
aggressive scraping (~20 requests/minute) -- space repeated calls with
Sys.sleep().
bref_draft(season = most_recent_nba_season())A hoopR_data tibble with one row per draft pick (career columns
shown -- column names are Basketball-Reference data-stat keys):
| col_name | types | description |
| pick_overall | integer | Overall draft pick number. |
| round | integer | Draft round. |
| team | character | Drafting team abbreviation. |
| player | character | Player name. |
| college_name | character | College / pre-draft team. |
| seasons | integer | NBA seasons played. |
| g | integer | Career games. |
| pts | numeric | Career points. |
| trb | numeric | Career total rebounds. |
| ast | numeric | Career assists. |
| ws | numeric | Career win shares. |
| bpm | numeric | Career box plus/minus. |
| vorp | numeric | Career value over replacement player. |
| season | integer | Draft year (echoes the season argument). |
(integer required): Draft year (e.g. 2024). Defaults to
most_recent_nba_season().
Other Basketball-Reference Functions:
bref_awards(),
bref_injuries(),
bref_player_bios(),
bref_player_game_log(),
bref_players_stats(),
bref_standings(),
bref_team_roster(),
bref_teams_stats()
# \donttest{
try(bref_draft(season = 2024))
# }
Run the code above in your browser using DataLab