Learn R Programming

nbastatR (version 0.1.110202031)

get_seasons_standings: Get seasons standing data

Description

NBA season standing data

Usage

get_seasons_standings(seasons = 1950:2018,
  season_types = c("Regular Season"), resolve_records = TRUE,
  nest_data = F, return_message = TRUE)

Arguments

seasons

vector of seasons

season_types

type of season options include

  • Regular Season

  • Pre Season

resolve_records

TRUE resolve records into wins, losses and win percentage

nest_data

if TRUE returns a nested data frame

return_message

if TRUE returns a message

Value

a `data_frame`

See Also

Other standings: get_current_standings

Examples

Run this code
# NOT RUN {
get_seasons_standings(seasons = 2015:2018, season_types = "Regular Season", resolve_records = T, nest_data = F, return_message = T)
# }

Run the code above in your browser using DataLab