Learn R Programming

fastRhockey (version 0.4.0)

nhl_game_feed: NHL Game Feed

Description

Returns information on game feed for a given game id

Usage

nhl_game_feed(game_id)

Value

Returns a named list of data frames: all_plays, scoring_plays, penalty_plays, plays_by_period, current_play, linescore, decisions, team_box, player_box, skaters, goalies, on_ice, on_ice_plus, penalty_box, scratches, team_coaches

Arguments

game_id

Game unique ID

Examples

Run this code
# \donttest{
   try(nhl_game_feed(game_id=2018020561))
# }

Run the code above in your browser using DataLab