| strip_game_id | R Documentation |
strip_game_id() strips the game ID into the season ID, game type ID, and
game number for all the events (plays) in a play-by-play.
strip_game_id(play_by_play)
play_by_play |
data.frame of play-by-play(s); see |
data.frame with one row per event (play) and added columns:
seasonId, gameTypeId, and gameNumber
# May take >5s, so skip.
test <- gc_play_by_play()
test_game_id_stripped <- strip_game_id(test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.