Skip to contents

Get NBA Stats API Team Roster

Get NBA Stats API Team Roster

Usage

nba_commonteamroster(
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  team_id = "1610612739",
  ...
)

Arguments

league_id

league_id

season

season

team_id

team_id

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: Coaches, CommonTeamRoster

CommonTeamRoster

col_nametypes
TeamIDcharacter
SEASONcharacter
LeagueIDcharacter
PLAYERcharacter
NICKNAMEcharacter
PLAYER_SLUGcharacter
NUMcharacter
POSITIONcharacter
HEIGHTcharacter
WEIGHTcharacter
BIRTH_DATEcharacter
AGEcharacter
EXPcharacter
SCHOOLcharacter
PLAYER_IDcharacter
HOW_ACQUIREDcharacter

Coaches

col_nametypes
TEAM_IDcharacter
SEASONcharacter
COACH_IDcharacter
FIRST_NAMEcharacter
LAST_NAMEcharacter
COACH_NAMEcharacter
IS_ASSISTANTcharacter
COACH_TYPEcharacter
SORT_SEQUENCEcharacter
SUB_SORT_SEQUENCEcharacter

Details

Team Roster

 nba_commonteamroster(season = year_to_season(most_recent_nba_season() - 1), team_id = '1610612739')

See also

Other NBA Roster Functions: nba_commonallplayers(), nba_commonplayerinfo()

Author

Saiem Gilani