Learn R Programming

nbastatR (version 0.1.110202031)

get_teams_year_by_year_stats: NBA teams yearly performance

Description

NBA teams yearly performance

Usage

get_teams_year_by_year_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

vecor 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 data_frame

Value

a data_frame

Examples

Run this code
# NOT RUN {
get_teams_year_by_year_stats(all_active_teams = T,
modes = c("Totals"),
return_message = TRUE,
 nest_data =F)
# }

Run the code above in your browser using DataLab