Skip to contents

Get NBA Stats API Boxscore Scoring V2

Get NBA Stats API Boxscore Scoring V2

Usage

nba_boxscorescoringv2(
  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

Returns a named list of data frames: sqlPlayersScoring, sqlTeamsScoring

sqlPlayersScoring

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CITYcharacter
PLAYER_IDcharacter
PLAYER_NAMEcharacter
NICKNAMEcharacter
START_POSITIONcharacter
COMMENTcharacter
MINcharacter
PCT_FGA_2PTcharacter
PCT_FGA_3PTcharacter
PCT_PTS_2PTcharacter
PCT_PTS_2PT_MRcharacter
PCT_PTS_3PTcharacter
PCT_PTS_FBcharacter
PCT_PTS_FTcharacter
PCT_PTS_OFF_TOVcharacter
PCT_PTS_PAINTcharacter
PCT_AST_2PMcharacter
PCT_UAST_2PMcharacter
PCT_AST_3PMcharacter
PCT_UAST_3PMcharacter
PCT_AST_FGMcharacter
PCT_UAST_FGMcharacter

sqlTeamsScoring

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_NAMEcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CITYcharacter
MINcharacter
PCT_FGA_2PTcharacter
PCT_FGA_3PTcharacter
PCT_PTS_2PTcharacter
PCT_PTS_2PT_MRcharacter
PCT_PTS_3PTcharacter
PCT_PTS_FBcharacter
PCT_PTS_FTcharacter
PCT_PTS_OFF_TOVcharacter
PCT_PTS_PAINTcharacter
PCT_AST_2PMcharacter
PCT_UAST_2PMcharacter
PCT_AST_3PMcharacter
PCT_UAST_3PMcharacter
PCT_AST_FGMcharacter
PCT_UAST_FGMcharacter

Details

 nba_boxscorescoringv2(game_id = "0022200021")

Author

Saiem Gilani