nba_boxscoredefensivev2 {hoopR}R Documentation

Get NBA Stats API Boxscore Defensive V2

Description

Get NBA Stats API Boxscore Defensive V2

Get NBA Stats API Boxscore Defensive V2

Usage

nba_boxscoredefensivev2(
  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_boxscoredefensivev2(game_id = "0022200021")

Value

A list of data frames: home_team_player_defensive, away_team_player_defensive, home_team_totals_defensive, away_team_totals_defensive

home_team_player_defensive

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
matchup_minutes character
partial_possessions numeric
switches_on integer
player_points integer
defensive_rebounds integer
matchup_assists integer
matchup_turnovers integer
steals integer
blocks integer
matchup_field_goals_made integer
matchup_field_goals_attempted integer
matchup_field_goal_percentage numeric
matchup_three_pointers_made integer
matchup_three_pointers_attempted integer
matchup_three_pointer_percentage numeric

away_team_player_defensive

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
matchup_minutes character
partial_possessions numeric
switches_on integer
player_points integer
defensive_rebounds integer
matchup_assists integer
matchup_turnovers integer
steals integer
blocks integer
matchup_field_goals_made integer
matchup_field_goals_attempted integer
matchup_field_goal_percentage numeric
matchup_three_pointers_made integer
matchup_three_pointers_attempted integer
matchup_three_pointer_percentage numeric

home_team_totals_defensive

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

away_team_totals_defensive

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

Author(s)

Saiem Gilani

See Also

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


[Package hoopR version 2.1.0 Index]