Skip to contents

Get NBA Stats API Team Details

Get NBA Stats API Team Details

Usage

nba_teamdetails(team_id = "1610612749", ...)

Arguments

team_id

Team ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: TeamAwardsChampionships, TeamAwardsConf, TeamAwardsDiv, TeamBackground, TeamHistory, TeamHof, TeamRetired, TeamSocialSites

TeamBackground

col_nametypes
TEAM_IDcharacter
ABBREVIATIONcharacter
NICKNAMEcharacter
YEARFOUNDEDcharacter
CITYcharacter
ARENAcharacter
ARENACAPACITYcharacter
OWNERcharacter
GENERALMANAGERcharacter
HEADCOACHcharacter
DLEAGUEAFFILIATIONcharacter

TeamHistory

col_nametypes
TEAM_IDcharacter
CITYcharacter
NICKNAMEcharacter
YEARFOUNDEDcharacter
YEARACTIVETILLcharacter

TeamSocialSites

col_nametypes
ACCOUNTTYPEcharacter
WEBSITE_LINKcharacter

TeamAwardsChampionships

col_nametypes
YEARAWARDEDcharacter
OPPOSITETEAMcharacter

TeamAwardsConf

col_nametypes
YEARAWARDEDinteger
OPPOSITETEAMinteger

TeamAwardsDiv

col_nametypes
YEARAWARDEDinteger
OPPOSITETEAMinteger

TeamHof

col_nametypes
PLAYERIDcharacter
PLAYERcharacter
POSITIONcharacter
JERSEYcharacter
SEASONSWITHTEAMcharacter
YEARcharacter

TeamRetired

col_nametypes
PLAYERIDcharacter
PLAYERcharacter
POSITIONcharacter
JERSEYcharacter
SEASONSWITHTEAMcharacter
YEARcharacter

Details

 nba_teamdetails(team_id = '1610612749')

Author

Saiem Gilani