teams_shots: Get teams seasons shot charts

teams_shotsR Documentation

Get teams seasons shot charts

Description

Get teams seasons shot charts

Usage

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

  • Pre Season

  • Regular Season

  • Playoffs

  • All Star

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)

abresler/nbastatR documentation built on Nov. 9, 2023, 2:33 p.m.