nba_boxscoreplayertrackv3: *Get NBA Stats API Boxscore Player Tracking V3*

View source: R/nba_stats_boxscore_v3.R

nba_boxscoreplayertrackv3R Documentation

Get NBA Stats API Boxscore Player Tracking V3

Description

Get NBA Stats API Boxscore Player Tracking V3

Get NBA Stats API Boxscore Player Tracking V3

Usage

nba_boxscoreplayertrackv3(
  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_boxscoreplayertrackv3(game_id = "0022200021")

Value

A list of data frames: home_team_player_player_track, away_team_player_player_track, home_team_totals_player_track, away_team_totals_player_track

home_team_player_player_track

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
speed numeric
distance numeric
rebound_chances_offensive integer
rebound_chances_defensive integer
rebound_chances_total integer
touches integer
secondary_assists integer
free_throw_assists integer
passes integer
assists integer
contested_field_goals_made integer
contested_field_goals_attempted integer
contested_field_goal_percentage numeric
uncontested_field_goals_made integer
uncontested_field_goals_attempted integer
uncontested_field_goals_percentage numeric
field_goal_percentage numeric
defended_at_rim_field_goals_made integer
defended_at_rim_field_goals_attempted integer
defended_at_rim_field_goal_percentage numeric

away_team_player_player_track

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
speed numeric
distance numeric
rebound_chances_offensive integer
rebound_chances_defensive integer
rebound_chances_total integer
touches integer
secondary_assists integer
free_throw_assists integer
passes integer
assists integer
contested_field_goals_made integer
contested_field_goals_attempted integer
contested_field_goal_percentage numeric
uncontested_field_goals_made integer
uncontested_field_goals_attempted integer
uncontested_field_goals_percentage numeric
field_goal_percentage numeric
defended_at_rim_field_goals_made integer
defended_at_rim_field_goals_attempted integer
defended_at_rim_field_goal_percentage numeric

home_team_totals_player_track

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
distance numeric
rebound_chances_offensive integer
rebound_chances_defensive integer
rebound_chances_total integer
touches integer
secondary_assists integer
free_throw_assists integer
passes integer
assists integer
contested_field_goals_made integer
contested_field_goals_attempted integer
contested_field_goal_percentage numeric
uncontested_field_goals_made integer
uncontested_field_goals_attempted integer
uncontested_field_goals_percentage numeric
field_goal_percentage numeric
defended_at_rim_field_goals_made integer
defended_at_rim_field_goals_attempted integer
defended_at_rim_field_goal_percentage numeric

away_team_totals_player_track

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
distance numeric
rebound_chances_offensive integer
rebound_chances_defensive integer
rebound_chances_total integer
touches integer
secondary_assists integer
free_throw_assists integer
passes integer
assists integer
contested_field_goals_made integer
contested_field_goals_attempted integer
contested_field_goal_percentage numeric
uncontested_field_goals_made integer
uncontested_field_goals_attempted integer
uncontested_field_goals_percentage numeric
field_goal_percentage numeric
defended_at_rim_field_goals_made integer
defended_at_rim_field_goals_attempted integer
defended_at_rim_field_goal_percentage 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_boxscorescoringv3(), nba_boxscoretraditionalv3(), nba_boxscoreusagev3()


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