Skip to contents

Get NBA Stats API Franchise History

Get NBA Stats API Franchise History

Usage

nba_franchisehistory(league_id = "00", ...)

Arguments

league_id

league_id

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: DefunctTeams, FranchiseHistory

FranchiseHistory

col_nametypes
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
START_YEARcharacter
END_YEARcharacter
YEARScharacter
GAMEScharacter
WINScharacter
LOSSEScharacter
WIN_PCTcharacter
PO_APPEARANCEScharacter
DIV_TITLEScharacter
CONF_TITLEScharacter
LEAGUE_TITLEScharacter

DefunctTeams

col_nametypes
LEAGUE_IDcharacter
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
START_YEARcharacter
END_YEARcharacter
YEARScharacter
GAMEScharacter
WINScharacter
LOSSEScharacter
WIN_PCTcharacter
PO_APPEARANCEScharacter
DIV_TITLEScharacter
CONF_TITLEScharacter
LEAGUE_TITLEScharacter

Details

Franchise History

 nba_franchisehistory(league_id = '00')
 nba_franchisehistory(league_id = '01')
 nba_franchisehistory(league_id = '10')
 nba_franchisehistory(league_id = '20')

See also

Author

Saiem Gilani