Returns information on game shifts for a given game id
Examples
# \donttest{
try(nhl_game_shifts(game_id = 2021020182))
#> ── NHL Game Shifts Information from NHL.com ─────────────── fastRhockey 0.6.0 ──
#> ℹ Data updated: 2023-03-08 07:47:31 UTC
#> # A tibble: 326 × 14
#> event_…¹ period perio…² perio…³ game_…⁴ num_on playe…⁵ ids_on num_off playe…⁶
#> <chr> <int> <chr> <dbl> <dbl> <int> <chr> <chr> <int> <chr>
#> 1 Boston … 1 00:00 0 0 6 Patric… 84706… NA None
#> 2 Ottawa … 1 00:00 0 0 6 Matt M… 84768… NA None
#> 3 Boston … 1 00:18 18 18 1 Matt G… 84768… 1 Derek …
#> 4 Ottawa … 1 00:18 18 18 5 Michae… 84745… 5 Zach S…
#> 5 Boston … 1 00:41 41 41 2 Craig … 84752… 2 David …
#> 6 Ottawa … 1 00:46 46 46 3 Thomas… 84784… 3 Michae…
#> 7 Boston … 1 00:56 56 56 2 Charli… 84757… 2 Patric…
#> 8 Ottawa … 1 00:58 58 58 2 Zach S… 84774… 2 Drake …
#> 9 Boston … 1 01:14 74 74 5 Erik H… 84752… 5 Craig …
#> 10 Ottawa … 1 01:14 74 74 5 Michae… 84745… 5 Zach S…
#> # … with 316 more rows, 4 more variables: ids_off <chr>, event <chr>,
#> # event_type <chr>, game_seconds_remaining <dbl>, and abbreviated variable
#> # names ¹event_team, ²period_time, ³period_seconds, ⁴game_seconds,
#> # ⁵players_on, ⁶players_off
# }