Skip to contents

Get NBA Stats API Boxscore Traditional V2

Get NBA Stats API Boxscore Traditional V2

Usage

nba_boxscoretraditionalv2(
  game_id,
  start_period = 0,
  end_period = 14,
  start_range = 0,
  end_range = 0,
  range_type = 0,
  ...
)

Arguments

game_id

Game ID

start_period

start_period

end_period

end_period

start_range

start_range

end_range

end_range

range_type

range_type

...

Additional arguments passed to an underlying function like httr.

Value

A list of data frames: PlayerStats, TeamStats, TeamStarterBenchStats

PlayerStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
NICKNAMEcharacterTeam or athlete nickname.
START_POSITIONcharacter
COMMENTcharacterPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
MINcharacterMinutes played.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).
FG3McharacterThree-point field goals made.
FG3AcharacterThree-point field goal attempts.
FG3_PCTcharacterThree-point field goal percentage (0-1).
FTMcharacterFree throws made.
FTAcharacterFree throw attempts.
FT_PCTcharacterFree throw percentage (0-1).
OREBcharacterOffensive rebounds.
DREBcharacterDefensive rebounds.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STLcharacterSteals.
BLKcharacterBlocks.
TOcharacterTo.
PFcharacterPersonal fouls.
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.

TeamStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
MINcharacterMinutes played.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).
FG3McharacterThree-point field goals made.
FG3AcharacterThree-point field goal attempts.
FG3_PCTcharacterThree-point field goal percentage (0-1).
FTMcharacterFree throws made.
FTAcharacterFree throw attempts.
FT_PCTcharacterFree throw percentage (0-1).
OREBcharacterOffensive rebounds.
DREBcharacterDefensive rebounds.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STLcharacterSteals.
BLKcharacterBlocks.
TOcharacterTo.
PFcharacterPersonal fouls.
PTScharacterPoints scored.
PLUS_MINUScharacterPlus/minus point differential while on court.

TeamStarterBenchStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
STARTERS_BENCHcharacter
MINcharacterMinutes played.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).
FG3McharacterThree-point field goals made.
FG3AcharacterThree-point field goal attempts.
FG3_PCTcharacterThree-point field goal percentage (0-1).
FTMcharacterFree throws made.
FTAcharacterFree throw attempts.
FT_PCTcharacterFree throw percentage (0-1).
OREBcharacterOffensive rebounds.
DREBcharacterDefensive rebounds.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STLcharacterSteals.
BLKcharacterBlocks.
TOcharacterTo.
PFcharacterPersonal fouls.
PTScharacterPoints scored.

Details

 nba_boxscoretraditionalv2(game_id = "0022200021")

Author

Saiem Gilani