Get teams seasons shot charts

teams_shots(
  teams = NULL,
  team_ids = NULL,
  all_active_teams = F,
  season_types = "Regular Season",
  seasons = 2018,
  measures = "FGA",
  periods = 0,
  months = 0,
  date_from = NA,
  date_to = NA,
  nest_data = F,
  return_message = T
)

Arguments

teams

vector of team names

team_ids

vector of team ids

all_active_teams

if `TRUE` returns all active teams

season_types

vector of season types options

  • Regular Season

  • Playoffs

  • Pre Season

seasons

vector of seasons

measures

vector of measures

periods

vector of periods

months

vector of months

date_from

date from

date_to

date to

nest_data

if `TRUE` nests data

return_message

if `TRUE` returns a message

Value

a tibble

Examples

teams_shots(teams = "Brooklyn Nets",
seasons = 2018)