nba_boxscoreusagev3: *Get NBA Stats API Boxscore Usage V3*

View source: R/nba_stats_boxscore_v3.R

nba_boxscoreusagev3R Documentation

Get NBA Stats API Boxscore Usage V3

Description

Get NBA Stats API Boxscore Usage V3

Get NBA Stats API Boxscore Usage V3

Usage

nba_boxscoreusagev3(
  game_id = "0022200021",
  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_boxscoreusagev3(game_id = "0022200021")

Value

A list of data frames: home_team_player_usage, away_team_player_usage, home_team_totals_usage, away_team_totals_usage

home_team_player_usage

col_name types
game_id character
away_team_id integer
home_team_id integer
team_id integer
team_name character
team_city character
team_tricode character
team_slug character
person_id integer
first_name character
family_name character
name_i character
player_slug character
position character
comment character
jersey_num character
minutes character
usage_percentage numeric
percentage_field_goals_made numeric
percentage_field_goals_attempted numeric
percentage_three_pointers_made numeric
percentage_three_pointers_attempted numeric
percentage_free_throws_made numeric
percentage_free_throws_attempted numeric
percentage_rebounds_offensive numeric
percentage_rebounds_defensive numeric
percentage_rebounds_total numeric
percentage_assists numeric
percentage_turnovers numeric
percentage_steals numeric
percentage_blocks numeric
percentage_blocks_allowed numeric
percentage_personal_fouls numeric
percentage_personal_fouls_drawn numeric
percentage_points numeric

away_team_player_usage

col_name types
game_id character
away_team_id integer
home_team_id integer
team_id integer
team_name character
team_city character
team_tricode character
team_slug character
person_id integer
first_name character
family_name character
name_i character
player_slug character
position character
comment character
jersey_num character
minutes character
usage_percentage numeric
percentage_field_goals_made numeric
percentage_field_goals_attempted numeric
percentage_three_pointers_made numeric
percentage_three_pointers_attempted numeric
percentage_free_throws_made numeric
percentage_free_throws_attempted numeric
percentage_rebounds_offensive numeric
percentage_rebounds_defensive numeric
percentage_rebounds_total numeric
percentage_assists numeric
percentage_turnovers numeric
percentage_steals numeric
percentage_blocks numeric
percentage_blocks_allowed numeric
percentage_personal_fouls numeric
percentage_personal_fouls_drawn numeric
percentage_points numeric

home_team_totals_usage

col_name types
game_id character
away_team_id integer
home_team_id integer
team_id integer
team_name character
team_city character
team_tricode character
team_slug character
minutes character
usage_percentage numeric
percentage_field_goals_made numeric
percentage_field_goals_attempted numeric
percentage_three_pointers_made numeric
percentage_three_pointers_attempted numeric
percentage_free_throws_made numeric
percentage_free_throws_attempted numeric
percentage_rebounds_offensive numeric
percentage_rebounds_defensive numeric
percentage_rebounds_total numeric
percentage_assists numeric
percentage_turnovers numeric
percentage_steals numeric
percentage_blocks numeric
percentage_blocks_allowed numeric
percentage_personal_fouls numeric
percentage_personal_fouls_drawn numeric
percentage_points numeric

away_team_totals_usage

col_name types
game_id character
away_team_id integer
home_team_id integer
team_id integer
team_name character
team_city character
team_tricode character
team_slug character
minutes character
usage_percentage numeric
percentage_field_goals_made numeric
percentage_field_goals_attempted numeric
percentage_three_pointers_made numeric
percentage_three_pointers_attempted numeric
percentage_free_throws_made numeric
percentage_free_throws_attempted numeric
percentage_rebounds_offensive numeric
percentage_rebounds_defensive numeric
percentage_rebounds_total numeric
percentage_assists numeric
percentage_turnovers numeric
percentage_steals numeric
percentage_blocks numeric
percentage_blocks_allowed numeric
percentage_personal_fouls numeric
percentage_personal_fouls_drawn numeric
percentage_points numeric

Author(s)

Saiem Gilani

See Also

Other NBA Boxscore V3 Functions: nba_boxscoreadvancedv3(), nba_boxscoredefensivev2(), nba_boxscorefourfactorsv3(), nba_boxscorehustlev2(), nba_boxscorematchupsv3(), nba_boxscoremiscv3(), nba_boxscoreplayertrackv3(), nba_boxscorescoringv3(), nba_boxscoretraditionalv3()


hoopR documentation built on Nov. 26, 2023, 1:07 a.m.