Learn R Programming

nbastatR (version 0.1.110202031)

get_bref_teams_seasons: Basketball Reference teams seasons data

Description

Get all available team tables from BREF for specified seasons

Usage

get_bref_teams_seasons(seasons = 1950:2018, return_message = TRUE,
  assign_to_environment = TRUE, nest_data = FALSE, join_data = TRUE,
  widen_data = TRUE)

Arguments

seasons

vector of years from 1950 to current

return_message

if TRUE returns message

assign_to_environment

if TRUE assigns data

widen_data

if TRUE returns data in wide form

Value

a data_frame with a list of data_frames

See Also

Other BREF: get_bref_coach_dictionary, get_bref_player_dictionary, get_bref_players_bios, get_bref_players_seasons, get_bref_team_dictionary

Examples

Run this code
# NOT RUN {
get_bref_teams_seasons(seasons = 2017:2018)
# }

Run the code above in your browser using DataLab