Learn R Programming

hoopR (version 2.1.0)

nba_drafthistory: Get NBA Stats API Draft History

Description

Get NBA Stats API Draft History

Usage

nba_drafthistory(
  league_id = "00",
  college = "",
  overall_pick = "",
  round_pick = "",
  round_num = "",
  season = most_recent_nba_season() - 1,
  team_id = "",
  top_x = "",
  ...
)

Value

Returns a named list of data frames: DraftHistory

DraftHistory

col_nametypes
PERSON_IDcharacter
PLAYER_NAMEcharacter
SEASONcharacter
ROUND_NUMBERcharacter
ROUND_PICKcharacter
OVERALL_PICKcharacter
DRAFT_TYPEcharacter
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
TEAM_ABBREVIATIONcharacter
ORGANIZATIONcharacter
ORGANIZATION_TYPEcharacter
PLAYER_PROFILE_FLAGcharacter

Arguments

league_id

league_id

college

college

overall_pick

overall_pick

round_pick

round_pick

round_num

round_num

season

season

team_id

team_id

top_x

top_x

...

Additional arguments passed to an underlying function like httr.

Author

Saiem Gilani

Details

Draft History

 nba_drafthistory(season = most_recent_nba_season() - 1)

See Also

Other NBA Draft Functions: nba_draftboard(), nba_draftcombinedrillresults(), nba_draftcombinenonstationaryshooting(), nba_draftcombineplayeranthro(), nba_draftcombinespotshooting(), nba_draftcombinestats()