GetShotDashboard: Shot Dashboard stats on players or teams

Description Usage Arguments Value Examples

Description

Shot Dashboard stats on players or teams

Usage

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)

Arguments

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

Value

data frame of stats

Examples

1
GetShotDashboard('James Harden', stat = 'Defender Distance')

ccagrawal/sportsTools documentation built on May 13, 2019, 2:15 p.m.