Learn R Programming

nbastatR (version 0.1.12031)

bref_teams_stats: Basketball Reference teams seasons data

Description

Get all available team tables from BREF for specified seasons

Usage

bref_teams_stats(seasons = 2019, 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 tibble with a list of tibbles

See Also

Other BREF: bref_awards_votes, bref_awards, bref_bios, bref_players_stats, dictionary_bref_coaches, dictionary_bref_players, dictionary_bref_teams

Examples

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

Run the code above in your browser using DataLab