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_nametypesdescription
TEAM_IDcharacterUnique team identifier.
ABBREVIATIONcharacterShort abbreviation.
NICKNAMEcharacterTeam or athlete nickname.
YEARFOUNDEDcharacter
CITYcharacterCity.
ARENAcharacterArena.
ARENACAPACITYcharacter
OWNERcharacter
GENERALMANAGERcharacter
HEADCOACHcharacter
DLEAGUEAFFILIATIONcharacter

TeamHistory

col_nametypesdescription
TEAM_IDcharacterUnique team identifier.
CITYcharacterCity.
NICKNAMEcharacterTeam or athlete nickname.
YEARFOUNDEDcharacter
YEARACTIVETILLcharacter

TeamSocialSites

col_nametypesdescription
ACCOUNTTYPEcharacter
WEBSITE_LINKcharacter

TeamAwardsChampionships

col_nametypesdescription
YEARAWARDEDcharacter
OPPOSITETEAMcharacter

TeamAwardsConf

col_nametypesdescription
YEARAWARDEDinteger
OPPOSITETEAMinteger

TeamAwardsDiv

col_nametypesdescription
YEARAWARDEDinteger
OPPOSITETEAMinteger

TeamHof

col_nametypesdescription
PLAYERIDcharacterPlayerid.
PLAYERcharacterPlayer.
POSITIONcharacterListed roster position (G, F, C, etc.).
JERSEYcharacterJersey number worn by the player.
SEASONSWITHTEAMcharacter
YEARcharacter4-digit year.

TeamRetired

col_nametypesdescription
PLAYERIDcharacterPlayerid.
PLAYERcharacterPlayer.
POSITIONcharacterListed roster position (G, F, C, etc.).
JERSEYcharacterJersey number worn by the player.
SEASONSWITHTEAMcharacter
YEARcharacter4-digit year.

Details

 nba_teamdetails(team_id = '1610612749')

Author

Saiem Gilani