Skip to contents

Get NBA Stats API Boxscore Four Factors V2

Get NBA Stats API Boxscore Four Factors V2

Usage

nba_boxscorefourfactorsv2(
  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: sqlPlayersFourFactors, sqlTeamFourFactors

sqlPlayersFourFactors

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CITYcharacter
PLAYER_IDcharacter
PLAYER_NAMEcharacter
NICKNAMEcharacter
START_POSITIONcharacter
COMMENTcharacter
MINcharacter
EFG_PCTcharacter
FTA_RATEcharacter
TM_TOV_PCTcharacter
OREB_PCTcharacter
OPP_EFG_PCTcharacter
OPP_FTA_RATEcharacter
OPP_TOV_PCTcharacter
OPP_OREB_PCTcharacter

sqlTeamsFourFactors

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_NAMEcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CITYcharacter
MINcharacter
EFG_PCTcharacter
FTA_RATEcharacter
TM_TOV_PCTcharacter
OREB_PCTcharacter
OPP_EFG_PCTcharacter
OPP_FTA_RATEcharacter
OPP_TOV_PCTcharacter
OPP_OREB_PCTcharacter

Details

 nba_boxscorefourfactorsv2(game_id = "0022200021")

Author

Saiem Gilani