nba_leaguedashplayershotlocations: *Get NBA Stats API League Dashboard Player Shot Locations*

View source: R/nba_stats_league_dash.R

nba_leaguedashplayershotlocationsR Documentation

Get NBA Stats API League Dashboard Player Shot Locations

Description

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.

Details

Players Shooting by Shot Location

 nba_leaguedashplayershotlocations(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))

Value

Returns a named list of data frames: ShotLocations

ShotLocations

col_name types
PLAYER_ID character
PLAYER_NAME character
TEAM_ID character
TEAM_ABBREVIATION character
AGE character
NICKNAME character
Restricted_Area_FGM character
Restricted_Area_FGA character
Restricted_Area_FG_PCT character
In_The_Paint_Non_RA_FGM character
In_The_Paint_Non_RA_FGA character
In_The_Paint_Non_RA_FG_PCT character
Mid_Range_FGM character
Mid_Range_FGA character
Mid_Range_FG_PCT character
Left_Corner_3_FGM character
Left_Corner_3_FGA character
Left_Corner_3_FG_PCT character
Right_Corner_3_FGM character
Right_Corner_3_FGA character
Right_Corner_3_FG_PCT character
Above_the_Break_3_FGM character
Above_the_Break_3_FGA character
Above_the_Break_3_FG_PCT character
Backcourt_FGM character
Backcourt_FGA character
Backcourt_FG_PCT character
Corner_3_FGM character
Corner_3_FGA character
Corner_3_FG_PCT character

Author(s)

Saiem Gilani

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()


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