NBA teams yearly performance

teams_annual_stats(
  teams = NULL,
  team_ids = NULL,
  all_active_teams = T,
  season_types = c("Regular Season"),
  modes = c("Totals"),
  return_message = TRUE,
  nest_data = F
)

Arguments

teams

vector of team names

team_ids

vector of team ids

all_active_teams

if TRUE returns all active teams

season_types

type of season options include

  • Pre Season

  • Regular Season

  • Playoffs

  • All Star

modes

mode of search options include

  • PerGame

  • Totals

return_message

if TRUE returns a message

nest_data

if TRUE returns a nested tibble

Value

a tibble

Examples

teams_annual_stats(all_active_teams = T,
modes = c("Totals"),
return_message = TRUE,
 nest_data =F)