Learn R Programming

nbastatR (version 0.1.11011)

get_teams_seasons_info: NBA teams seasons information

Description

Acquires information for a teams season

Usage

get_teams_seasons_info(teams = NULL, team_ids = NULL,
  all_active_teams = F, seasons = 1990:1995,
  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

return_message

Examples

Run this code
# NOT RUN {
get_teams_seasons_info(teams = "Brooklyn Nets", seasons = c(1984, 1990, 1995, 2018), season_types = "Regular Season")
# }

Run the code above in your browser using DataLab