Skip to contents

Get NBA Stats API League Dashboard Player Shot Locations

Get NBA Stats API League Dashboard Player Shot Locations

Usage

nba_leaguedashplayershotlocations(
  college = "",
  conference = "",
  country = "",
  date_from = "",
  date_to = "",
  distance_range = "By Zone",
  division = "",
  draft_pick = "",
  draft_year = "",
  dribble_range = "",
  game_scope = "",
  game_segment = "",
  height = "",
  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 = "",
  weight = "",
  ...
)

Arguments

college

college

conference

conference

country

country

date_from

date_from

date_to

date_to

distance_range

distance_range

division

division

draft_pick

draft_pick

draft_year

draft_year

dribble_range

dribble_range

game_scope

game_scope

game_segment

game_segment

height

height

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

weight

weight

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: ShotLocations

ShotLocations

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
AGEcharacter
NICKNAMEcharacter
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

See also

Other NBA League Functions: nba_leaguedashlineups(), nba_leaguedashoppptshot(), nba_leaguedashplayerbiostats(), nba_leaguedashplayerclutch(), nba_leaguedashplayerptshot(), nba_leaguedashplayerstats(), nba_leaguedashptdefend(), nba_leaguedashptstats(), nba_leaguedashptteamdefend(), nba_leaguedashteamclutch(), nba_leaguedashteamptshot(), nba_leaguedashteamshotlocations(), nba_leaguedashteamstats(), nba_leaguegamefinder(), nba_leaguegamelog(), nba_leaguelineupviz(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_leaguestandingsv3(), nba_leaguestandings(), nba_matchupsrollup(), nba_playoffpicture(), nba_shotchartleaguewide()

Other NBA Player Functions: nba_infographicfanduelplayer(), nba_leaguedashplayerbiostats(), nba_leaguedashplayerclutch(), nba_leaguedashplayerstats(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_matchupsrollup(), nba_playerawards(), nba_playercareerbycollegerollup(), nba_playercareerbycollege(), nba_playercareerstats(), nba_playercompare(), nba_playerdashboardbyclutch(), nba_playerdashboardbygamesplits(), nba_playerdashboardbygeneralsplits(), nba_playerdashboardbylastngames(), nba_playerdashboardbyopponent(), nba_playerdashboardbyshootingsplits(), nba_playerdashboardbyteamperformance(), nba_playerdashboardbyyearoveryear(), nba_playerdashptpass(), nba_playerdashptreb(), nba_playerdashptshotdefend(), nba_playerdashptshots(), nba_playerestimatedmetrics(), nba_playerfantasyprofilebargraph(), nba_playerfantasyprofile(), nba_playergamelogs(), nba_playergamelog(), nba_playergamestreakfinder(), nba_playerheadshot(), nba_playerindex(), nba_playernextngames(), nba_playerprofilev2(), nba_playervsplayer()

Other NBA Shooting Functions: nba_leaguedashteamptshot(), nba_leaguedashteamshotlocations(), nba_playerdashboardbyshootingsplits(), nba_shotchartdetail(), nba_shotchartleaguewide(), nba_shotchartlineupdetail(), nba_teamdashboardbyshootingsplits()

Author

Saiem Gilani