Skip to contents

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 = "",
  ...
)

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.

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

Author

Saiem Gilani