Skip to contents

Get NBA Stats API League Dashboard Team Shot Locations

Get NBA Stats API League Dashboard Team Shot Locations

Usage

nba_leaguedashteamshotlocations(
  conference = "",
  date_from = "",
  date_to = "",
  distance_range = "By Zone",
  division = "",
  game_scope = "",
  game_segment = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  measure_type = "Base",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  po_round = "",
  pace_adjust = "N",
  per_mode = "Totals",
  period = 0,
  player_experience = "",
  player_position = "",
  plus_minus = "N",
  rank = "N",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  starter_bench = "",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

conference

conference

date_from

date_from

date_to

date_to

distance_range

distance_range

division

division

game_scope

game_scope

game_segment

game_segment

last_n_games

last_n_games

league_id

league_id

location

location

measure_type

measure_type

month

month

opponent_team_id

opponent_team_id

outcome

outcome

po_round

po_round

pace_adjust

pace_adjust

per_mode

per_mode

period

period

player_experience

player_experience

player_position

player_position

plus_minus

plus_minus

rank

rank

season

season

season_segment

season_segment

season_type

season_type

shot_clock_range

shot_clock_range

starter_bench

starter_bench

team_id

team_id

vs_conference

vs_conference

vs_division

vs_division

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: ShotLocations

ShotLocations

col_nametypes
TEAM_IDcharacter
TEAM_NAMEcharacter
Restricted_Area_FGMcharacter
Restricted_Area_FGAcharacter
Restricted_Area_FG_PCTcharacter
In_The_Paint_Non_RA_FGMcharacter
In_The_Paint_Non_RA_FGAcharacter
In_The_Paint_Non_RA_FG_PCTcharacter
Mid_Range_FGMcharacter
Mid_Range_FGAcharacter
Mid_Range_FG_PCTcharacter
Left_Corner_3_FGMcharacter
Left_Corner_3_FGAcharacter
Left_Corner_3_FG_PCTcharacter
Right_Corner_3_FGMcharacter
Right_Corner_3_FGAcharacter
Right_Corner_3_FG_PCTcharacter
Above_the_Break_3_FGMcharacter
Above_the_Break_3_FGAcharacter
Above_the_Break_3_FG_PCTcharacter
Backcourt_FGMcharacter
Backcourt_FGAcharacter
Backcourt_FG_PCTcharacter
Corner_3_FGMcharacter
Corner_3_FGAcharacter
Corner_3_FG_PCTcharacter

Author

Saiem Gilani