Skip to contents

Get NBA Stats API Player Game Log

Get NBA Stats API Player Game Log

Usage

nba_playergamelog(
  date_from = "",
  date_to = "",
  league_id = "00",
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

Arguments

date_from

date_from

date_to

date_to

league_id

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

player_id

Player ID

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: PlayerGameLog

PlayerGameLog

col_nametypes
SEASON_IDcharacter
Player_IDcharacter
Game_IDcharacter
GAME_DATEcharacter
MATCHUPcharacter
WLcharacter
MINcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter
FTMcharacter
FTAcharacter
FT_PCTcharacter
OREBcharacter
DREBcharacter
REBcharacter
ASTcharacter
STLcharacter
BLKcharacter
TOVcharacter
PFcharacter
PTScharacter
PLUS_MINUScharacter
VIDEO_AVAILABLEcharacter

Details

Player Game Log

 nba_playergamelog(player_id = '2544')

Author

Saiem Gilani