teams_seasons_info: NBA teams seasons information

View source: R/team.R

teams_seasons_infoR Documentation

NBA teams seasons information

Description

Acquires information for a teams season

Usage

teams_seasons_info(
  teams = NULL,
  team_ids = NULL,
  all_active_teams = T,
  seasons = 2019,
  season_types = "Regular Season",
  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

seasons

vector of seasons

season_types

type of season options include

  • Regular Season

  • Playoffs

  • Pre Season

nest_data

if 'TRUE' nests data

return_message

if 'TRUE' returns a message

Value

a 'tibble'

Examples

teams_seasons_info(teams = "Brooklyn Nets", seasons = c(1984, 1990, 1995, 2018), season_types = "Regular Season")

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