View source: R/get_game_shifts.R
get_game_shifts | R Documentation |
A function to gather shift data from a given game. Shifts are
turned into events to match the style of events in standard game pbp.
Portions of this code are modified versions of code from the NHL scraper by
Evolving-Hockey, which in turn were modified from the NHL scraper by Manny Perry.
get_game_shifts(game_id)
game_id |
Game ID to scrape |
A tibble containing each player change as an event
## Not run: get_game_shifts(2020020561) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.