teams_annual_stats: NBA teams yearly performance

View source: R/team_tables.R

teams_annual_statsR Documentation

NBA teams yearly performance

Description

NBA teams yearly performance

Usage

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)

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