Skip to contents

Get NBA Stats API Team Year by Year Stats

Get NBA Stats API Team Year by Year Stats

Usage

nba_teamyearbyyearstats(
  league_id = "00",
  per_mode = "Totals",
  season_type = "Regular Season",
  team_id = "1610612749",
  ...
)

Arguments

league_id

League - default: '00'. Other options include '10': WNBA, '20': G-League

per_mode

Per Mode

season_type

Season Type - Regular Season, Playoffs, All-Star

team_id

Team ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: TeamStats

TeamStats

col_nametypes
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
YEARcharacter
GPcharacter
WINScharacter
LOSSEScharacter
WIN_PCTcharacter
CONF_RANKcharacter
DIV_RANKcharacter
PO_WINScharacter
PO_LOSSEScharacter
CONF_COUNTcharacter
DIV_COUNTcharacter
NBA_FINALS_APPEARANCEcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
PFcharacter
STLcharacter
TOVcharacter
BLKcharacter
PTScharacter
PTS_RANKcharacter

Details

Team Year by Year Stats

 nba_teamyearbyyearstats(team_id = '1610612749')

Author

Saiem Gilani