View source: R/nba_stats_league_dash.R
| nba_leaguedashptstats | R Documentation | 
Get NBA Stats API League Dashboard Player Tracking - Stats
Get NBA Stats API League Dashboard Player Tracking - Stats
nba_leaguedashptstats(
  college = "",
  conference = "",
  country = "",
  date_from = "",
  date_to = "",
  division = "",
  draft_pick = "",
  draft_year = "",
  game_scope = "",
  height = "",
  last_n_games = 0,
  league_id = "00",
  location = "",
  month = 0,
  opponent_team_id = 0,
  outcome = "",
  po_round = "",
  per_mode = "PerGame",
  period = "",
  player_experience = "",
  player_or_team = "Player",
  player_position = "",
  pt_measure_type = "Drives",
  season = year_to_season(most_recent_nba_season() - 1),
  season_segment = "",
  season_type = "Regular Season",
  starter_bench = "",
  team_id = "",
  vs_conference = "",
  vs_division = "",
  weight = "",
  ...
)
college | 
 college  | 
conference | 
 conference  | 
country | 
 country  | 
date_from | 
 date_from  | 
date_to | 
 date_to  | 
division | 
 division  | 
draft_pick | 
 draft_pick  | 
draft_year | 
 draft_year  | 
game_scope | 
 game_scope  | 
height | 
 height  | 
last_n_games | 
 last_n_games  | 
league_id | 
 league_id  | 
location | 
 location  | 
month | 
 month  | 
opponent_team_id | 
 opponent_team_id  | 
outcome | 
 outcome  | 
po_round | 
 po_round  | 
per_mode | 
 per_mode  | 
period | 
 period  | 
player_experience | 
 player_experience  | 
player_or_team | 
 player_or_team  | 
player_position | 
 player_position  | 
pt_measure_type | 
 pt_measure_type  | 
season | 
 season  | 
season_segment | 
 season_segment  | 
season_type | 
 season_type  | 
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.  | 
Players Tracking (Second Spectrum) Stats
nba_leaguedashptstats(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))
Returns a named list of data frames: LeagueDashPtStats
LeagueDashPtStats
| col_name | types | 
| PLAYER_ID | character | 
| PLAYER_NAME | character | 
| TEAM_ID | character | 
| TEAM_ABBREVIATION | character | 
| GP | character | 
| W | character | 
| L | character | 
| MIN | character | 
| DRIVES | character | 
| DRIVE_FGM | character | 
| DRIVE_FGA | character | 
| DRIVE_FG_PCT | character | 
| DRIVE_FTM | character | 
| DRIVE_FTA | character | 
| DRIVE_FT_PCT | character | 
| DRIVE_PTS | character | 
| DRIVE_PTS_PCT | character | 
| DRIVE_PASSES | character | 
| DRIVE_PASSES_PCT | character | 
| DRIVE_AST | character | 
| DRIVE_AST_PCT | character | 
| DRIVE_TOV | character | 
| DRIVE_TOV_PCT | character | 
| DRIVE_PF | character | 
| DRIVE_PF_PCT | character | 
Saiem Gilani
Other NBA League Functions: 
nba_leaguedashlineups(),
nba_leaguedashoppptshot(),
nba_leaguedashplayerbiostats(),
nba_leaguedashplayerclutch(),
nba_leaguedashplayerptshot(),
nba_leaguedashplayershotlocations(),
nba_leaguedashplayerstats(),
nba_leaguedashptdefend(),
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 Tracking Functions: 
nba_boxscoreplayertrackv2(),
nba_leaguedashoppptshot(),
nba_leaguedashplayerptshot(),
nba_leaguedashptdefend(),
nba_leaguedashptteamdefend(),
nba_leaguedashteamptshot(),
nba_playerdashptpass(),
nba_playerdashptreb(),
nba_playerdashptshotdefend(),
nba_playerdashptshots(),
nba_synergyplaytypes(),
nba_teamdashptpass(),
nba_teamdashptreb(),
nba_teamdashptshots()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.