powered by
Scrape full season play-by-play
scrape_season(season, type = "all")
A tibble containing all play-by-play data for a given season in the same format as the output of scrape_game
scrape_game
An integer value denoting the end year of the season to scrape
A character vector of the game types to include: REG, POST, or "all"
if (FALSE) { # scrape all regular season & postseason games for the 2016-2017 season pbp_2016_2017 <- scrape_season(2017, type = "REG") }
Run the code above in your browser using DataLab