nba_drafthistory: *Get NBA Stats API Draft History*

View source: R/nba_stats_draft.R

nba_drafthistoryR Documentation

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

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.

Details

Draft History

 nba_drafthistory(season = most_recent_nba_season() - 1)

Value

Returns a named list of data frames: DraftHistory

DraftHistory

col_name types
PERSON_ID character
PLAYER_NAME character
SEASON character
ROUND_NUMBER character
ROUND_PICK character
OVERALL_PICK character
DRAFT_TYPE character
TEAM_ID character
TEAM_CITY character
TEAM_NAME character
TEAM_ABBREVIATION character
ORGANIZATION character
ORGANIZATION_TYPE character
PLAYER_PROFILE_FLAG character

Author(s)

Saiem Gilani

See Also

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


hoopR documentation built on Nov. 26, 2023, 1:07 a.m.