teams_tables | R Documentation |
Returns NBA team data for specified teams and parameters by seasons
teams_tables(
teams = NULL,
team_ids = NULL,
all_active_teams = F,
seasons = NULL,
tables = NULL,
measures = NULL,
modes = NULL,
season_types = "Regular Season",
playoff_rounds = NA,
is_plus_minus = F,
is_rank = F,
is_pace_adjusted = F,
outcomes = NA,
locations = NA,
months = NA,
season_segments = NA,
date_from = NA,
date_to = NA,
opponent_ids = NA,
vs_confs = NA,
vs_divisions = NA,
game_segments = NA,
periods = NA,
shot_clocks = NA,
last_n_games = NA,
assign_to_environment = TRUE,
return_message = TRUE
)
teams |
vector of NBA team names |
team_ids |
vector of team ids |
all_active_teams |
if |
seasons |
vector of seasons |
tables |
vector of table names options include
|
measures |
vector of measure types options include
|
modes |
vector of modes options include
#' |
season_types |
vector of season types options include
|
playoff_rounds |
vector of playoff rounds options include code0:4 |
is_plus_minus |
|
is_rank |
if |
is_pace_adjusted |
if |
outcomes |
vector of outcomes options include
|
locations |
vector of locations options include
|
months |
vector of game months options include |
season_segments |
vector of season segments, options include
|
date_from |
|
date_to |
|
opponent_ids |
vector of opponent ids |
vs_confs |
vector of conferences against options include
|
vs_divisions |
vector of divisions against options include
|
game_segments |
vector of game segments options include
|
periods |
vector of periods |
last_n_games |
vector of last_n games |
assign_to_environment |
if |
shot_clock_ranges |
vector of shot clock ranges options include
|
return_messages |
if |
a tibble
teams_tables(teams = c("Brooklyn Nets", "New York Knicks"),
seasons = 2017:2018, tables = c("splits", "shooting"), measures = "Base", modes = c("PerGame", "Totals"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.