Returns information on game shifts for a given game id
nhl_game_shifts(game_id)
game_id | Game unique ID |
---|
Returns a tibble
# \donttest{ nhl_game_shifts(game_id=2021020182) #> # A tibble: 326 × 12 #> event_team period period_time period_seconds game_seconds num_on players_on #> <chr> <int> <chr> <dbl> <dbl> <int> <chr> #> 1 Boston Bru… 1 00:00 0 0 6 Patrice Be… #> 2 Ottawa Sen… 1 00:00 0 0 6 Matt Murra… #> 3 Boston Bru… 1 00:18 18 18 1 Matt Grzel… #> 4 Ottawa Sen… 1 00:18 18 18 5 Michael De… #> 5 Boston Bru… 1 00:41 41 41 2 Craig Smit… #> 6 Ottawa Sen… 1 00:46 46 46 3 Thomas Cha… #> 7 Boston Bru… 1 00:56 56 56 2 Charlie Co… #> 8 Ottawa Sen… 1 00:58 58 58 2 Zach Sanfo… #> 9 Boston Bru… 1 01:14 74 74 5 Erik Haula… #> 10 Ottawa Sen… 1 01:14 74 74 5 Michael De… #> # … with 316 more rows, and 5 more variables: num_off <int>, players_off <chr>, #> # event <chr>, event_type <chr>, game_seconds_remaining <dbl> # }