| .add_on_ice_shift_timing_context | R Documentation |
.add_on_ice_shift_timing_context() enriches play-by-play rows with scalar
shift elapsed and since-last-shift columns for the on-ice goalies and
skaters.
.add_on_ice_shift_timing_context(play_by_play, game, shift_data = NULL)
play_by_play |
data.frame play-by-play object with on-ice player IDs |
game |
game ID |
shift_data |
optional shift chart data.frame |
data.frame with scalar on-ice timing columns added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.