View source: R/scrape_season.R
scrape_season | R Documentation |
Scrape full season play-by-play
scrape_season(season, type = "all")
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" |
A tibble containing all play-by-play data for a given season in
the same format as the output of scrape_game
## Not run: # scrape all regular season & postseason games for the 2016-2017 season pbp_2016_2017 <- scrape_season(2017, type = "REG") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.