get_gc_play_by_play | R Documentation |
get_gc_play_by_play()
retrieves GC-provided information on each play for a given game
, including but not limited to their ID; type; time of occurrence; winning, losing, blocking, shooting, hitting, hit, scoring, assisting, committed-by, drawn-by, and/or served-by player IDs; and X and Y coordinates. Access get_games()
for game
reference.
get_gc_play_by_play(game = 2024020602)
game |
integer Game ID |
tibble with one row per play
gc_pbp_2024030411 <- get_gc_play_by_play(game=2024030411)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.