Description Usage Arguments Examples
Function to return all raw data from a single NHL game. plays is a somewhat tidied data.frame of play-by-play data; players is a list of the player metadata associated with each play. raw is the full raw data returned from the nhl api.
1 | nhl_get_game(game_id)
|
game_id |
raw game_id; can be found with nhl_get_team_games(). |
1 | game <- nhl_get_game(game_id = 2018020385)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.