powered by
Get all available team tables from BREF for specified seasons
bref_teams_stats(seasons = 2019, return_message = TRUE, assign_to_environment = TRUE, nest_data = FALSE, join_data = TRUE, widen_data = TRUE)
vector of years from 1950 to current
if TRUE returns message
TRUE
if TRUE assigns data
if TRUE returns data in wide form
a tibble with a list of tibbles
tibble
tibbles
Other BREF: bref_awards_votes, bref_awards, bref_bios, bref_players_stats, dictionary_bref_coaches, dictionary_bref_players, dictionary_bref_teams
bref_awards_votes
bref_awards
bref_bios
bref_players_stats
dictionary_bref_coaches
dictionary_bref_players
dictionary_bref_teams
# NOT RUN { bref_teams_stats(seasons = 2017:2018) # }
Run the code above in your browser using DataLab