nba_boxscorefourfactorsv2 {hoopR}R Documentation

Get NBA Stats API Boxscore Four Factors V2

Description

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.

Details

 nba_boxscorefourfactorsv2(game_id = "0022200021")

Value

Returns a named list of data frames: sqlPlayersFourFactors, sqlTeamFourFactors

sqlPlayersFourFactors

col_name types
GAME_ID character
TEAM_ID character
TEAM_ABBREVIATION character
TEAM_CITY character
PLAYER_ID character
PLAYER_NAME character
NICKNAME character
START_POSITION character
COMMENT character
MIN character
EFG_PCT character
FTA_RATE character
TM_TOV_PCT character
OREB_PCT character
OPP_EFG_PCT character
OPP_FTA_RATE character
OPP_TOV_PCT character
OPP_OREB_PCT character

sqlTeamsFourFactors

col_name types
GAME_ID character
TEAM_ID character
TEAM_NAME character
TEAM_ABBREVIATION character
TEAM_CITY character
MIN character
EFG_PCT character
FTA_RATE character
TM_TOV_PCT character
OREB_PCT character
OPP_EFG_PCT character
OPP_FTA_RATE character
OPP_TOV_PCT character
OPP_OREB_PCT character

Author(s)

Saiem Gilani

See Also

Other NBA Boxscore Functions: nba_boxscoreadvancedv2(), nba_boxscoredefensive(), nba_boxscorematchups(), nba_boxscoremiscv2(), nba_boxscoreplayertrackv2(), nba_boxscorescoringv2(), nba_boxscoresummaryv2(), nba_boxscoretraditionalv2(), nba_boxscoreusagev2(), nba_gamerotation(), nba_hustlestatsboxscore(), nba_live_boxscore()


[Package hoopR version 2.1.0 Index]