| .add_one_on_one_on_ice_players | R Documentation |
.add_one_on_one_on_ice_players() populates on-ice player-ID columns for
penalty-shot and shootout rows whose situationCode implies a one-skater
versus one-goalie state (0101/1010). The raw situationCode remains the
source column; this helper only synthesizes the compatible scalar player-ID
assignments when the general HTML on-ice signature is not usable.
.add_one_on_one_on_ice_players(play_by_play, matched = data.frame())
play_by_play |
data.frame play-by-play object |
matched |
optional matched HTML rows from |
data.frame enriched with one-on-one shooter/goalie assignments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.