Skip to contents

Get NBA Stats API Team Game Log

Get NBA Stats API Team Game Log

Usage

nba_teamgamelog(
  date_from = "",
  date_to = "",
  league_id = "00",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  team_id = "1610612749",
  ...
)

Arguments

date_from

date_from

date_to

date_to

league_id

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

season

Season - format 2020-21

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: TeamGameLog

TeamGameLog

col_nametypes
Team_IDcharacter
Game_IDcharacter
GAME_DATEcharacter
MATCHUPcharacter
WLcharacter
Wcharacter
Lcharacter
W_PCTcharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter

Details

Teams Game Log

 nba_teamgamelog(team_id = '1610612749')

Author

Saiem Gilani