Scrape full season play-by-play

scrape_season(season, type = "all")

Arguments

season

An integer value denoting the end year of the season to scrape

type

A character vector of the game types to include: REG, POST, or "all"

Value

A tibble containing all play-by-play data for a given season in the same format as the output of scrape_game

Examples

if (FALSE) {
# scrape all regular season & postseason games for the 2016-2017 season
pbp_2016_2017 <- scrape_season(2017, type = "REG")
}