Description Usage Arguments Value Examples
Shot Dashboard stats on players or teams
1 2 3 | GetShotDashboard(player, team, stat, year = CurrentYear(),
per.mode = "Totals", season.type = "Regular Season", opponent.id = "0",
date.from = "", date.to = "", ids = NA)
|
player |
Player name (if player's dashboard is desired) |
team |
Team name (if team's dashboard is desired) |
stat |
Statistic to pull (e.g. 'Defender Distance' or 'Shot Clock Range') |
year |
e.g. 2017 for 2016-17 season |
per.mode |
Either 'Totals' or 'Per Game' |
season.type |
Either 'Regular Season' or 'Playoffs' |
opponent.id |
Opponent team name |
data frame of stats
1 | GetShotDashboard('James Harden', stat = 'Defender Distance')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.