nhl_get_game: Function to return all raw data from a single NHL game....

Description Usage Arguments Examples

View source: R/nhl_get_game.R

Description

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.

Usage

1
nhl_get_game(game_id)

Arguments

game_id

raw game_id; can be found with nhl_get_team_games().

Examples

1
game <- nhl_get_game(game_id = 2018020385)

alexpavlakis/nhl documentation built on May 18, 2019, 2:35 p.m.