| shift_chart | R Documentation |
shift_chart() returns one row per player shift for a game with gameId,
teamId, playerId, shift number, period, start/end clocks, elapsed
period/game seconds, and duration. It uses the stats API when available and
falls back to the NHL HTML shift reports for older or missing games.
shift_chart(game = 2023030417)
game |
integer ID (e.g., 2025020275); see |
data.frame with one row per shift
shifts_Martin_Necas_legacy_game <- shift_chart(game = 2025020275)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.