teams_shots: Get teams seasons shot charts

Description Usage Arguments Value Examples

Description

Get teams seasons shot charts

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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

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

bonusrp/nbastatRR documentation built on Jan. 4, 2020, 9:10 p.m.