Description Usage Arguments Examples
View source: R/db_manipulation.R
Add all events from a game_id to the 'events' table. Also adds all players in the game to the 'players' table to allow for searching by name to retrieve player_id. Finally, adds the total time on ice for each player to the 'player_toi' table. This allows for calculation of certain statistics based on time usage. Will not write if game already exists in the database!
1  | AddGameEvents(game_ids)
 | 
game_ids | 
 List, list of game_ids. Use GetGameIdRange to find  | 
1 2  | SetDbPath(example = TRUE)
AddGameEvents(2019020001)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.