Skip to contents

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().

Usage

bref_draft(season = most_recent_nba_season())

Arguments

season

(integer required): Draft year (e.g. 2024). Defaults to most_recent_nba_season().

Value

A hoopR_data tibble with one row per draft pick (career columns shown – column names are Basketball-Reference data-stat keys):

col_nametypesdescription
pick_overallintegerOverall draft pick number.
roundintegerDraft round.
teamcharacterDrafting team abbreviation.
playercharacterPlayer name.
college_namecharacterCollege / pre-draft team.
seasonsintegerNBA seasons played.
gintegerCareer games.
ptsnumericCareer points.
trbnumericCareer total rebounds.
astnumericCareer assists.
wsnumericCareer win shares.
bpmnumericCareer box plus/minus.
vorpnumericCareer value over replacement player.
seasonintegerDraft year (echoes the season argument).

Examples

# \donttest{
  try(bref_draft(season = 2024))
#> ── Draft results from basketball-reference.com ────────────────── hoopR 3.1.0 ──
#>  Data updated: 2026-06-13 07:17:26 UTC
#> # A tibble: 60 × 23
#>    ranker pick_overall team  player college_name seasons     g    mp   pts   trb
#>     <dbl>        <dbl> <chr> <chr>  <chr>          <dbl> <dbl> <dbl> <dbl> <dbl>
#>  1      1            1 ATL   Zacch… ""                 2   142  3346  1583   525
#>  2      2            2 WAS   Alex … ""                 2   115  3119  1652   790
#>  3      3            3 HOU   Reed … "Kentucky"         2   134  2801  1339   316
#>  4      4            4 SAS   Steph… "UConn"            2   149  4200  2323   659
#>  5      5            5 DET   Ron H… ""                 2   159  2817  1162   533
#>  6      6            6 CHO   Tidja… ""                 2    97  1819   575   429
#>  7      7            7 POR   Donov… "UConn"            2   144  3418  1370  1419
#>  8      8            8 SAS   Rob D… "Kentucky"         2   114  1486   628   181
#>  9      9            9 MEM   Zach … "Purdue"           2    77  1700   760   670
#> 10     10           10 UTA   Cody … "Colorado"         2   117  2691   818   311
#> # ℹ 50 more rows
#> # ℹ 13 more variables: ast <dbl>, fg_pct <dbl>, fg3_pct <dbl>, ft_pct <dbl>,
#> #   mp_per_g <dbl>, pts_per_g <dbl>, trb_per_g <dbl>, ast_per_g <dbl>,
#> #   ws <dbl>, ws_per_48 <dbl>, bpm <dbl>, vorp <dbl>, season <int>
# }