Description Usage Arguments Value
Scrape & compile & savel all (or subset of) games in a season range. Saves a file in season dir with all unscraped games. All seasons scraping the same game
1 2 3 | ds.compile_all_games(seasons = c("20172018"),
games = ds.get_all_games(), data_dir = "./data", pause = 2,
try_tolerance = 5)
|
seasons |
The season(s) to scrape. Will automatically skip 20042005 and shorten 20122013 and carry longer seasons 20172018++ |
games |
the games to scrape |
data_dir |
The directory for storing data |
pause |
Pause time between scrapes |
try_tolerance |
Times to retry on fail. |
Integer number of games scraped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.