Description Usage Arguments Value
scrape_game() collects and parses the data for a game corresponsing to a given season and game ID.
1 2 | ds.scrape_game(season, game_id, try_tolerance = 3,
agents = hockeyR::ds.get_user_agents()[sample(1:4, size = 1)])
|
season |
The season of the game |
game_id |
the game id to scrape and process |
try_tolerance |
the number of tries before moving on. |
agents |
a useragent, selected from the list of useragents. |
list object containing c([[1]] = PBP, [[2]] = Shifts, [[3]] = Highlights) is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.