Skip to contents

Get NBA Stats API League Dashboard Player Tracking - Opponent Shots

Get NBA Stats API League Dashboard Player Tracking - Opponent Shots

Usage

nba_leaguedashoppptshot(
  close_def_dist_range = "",
  conference = "",
  date_from = "",
  date_to = "",
  division = "",
  dribble_range = "",
  game_segment = "",
  general_range = "",
  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,
  plus_minus = "N",
  rank = "Y",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  shot_clock_range = "",
  shot_dist_range = "",
  team_id = "",
  touch_time_range = "",
  vs_conference = "",
  vs_division = "",
  ...
)

Arguments

close_def_dist_range

close_def_dist_range

conference

conference

date_from

date_from

date_to

date_to

division

division

dribble_range

dribble_range

game_segment

game_segment

general_range

general_range

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

plus_minus

plus_minus

rank

rank

season

season

season_segment

season_segment

season_type

season_type

shot_clock_range

shot_clock_range

shot_dist_range

shot_dist_range

team_id

team_id

touch_time_range

touch_time_range

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: LeagueDashPTShots

LeagueDashPTShots

col_nametypes
TEAM_IDcharacter
TEAM_NAMEcharacter
TEAM_ABBREVIATIONcharacter
GPcharacter
Gcharacter
FGA_FREQUENCYcharacter
FGMcharacter
FGAcharacter
FG_PCTcharacter
EFG_PCTcharacter
FG2A_FREQUENCYcharacter
FG2Mcharacter
FG2Acharacter
FG2_PCTcharacter
FG3A_FREQUENCYcharacter
FG3Mcharacter
FG3Acharacter
FG3_PCTcharacter

Author

Saiem Gilani