get_espn_event_play_by_play | R Documentation |
get_espn_event_play_by_play()
retrieves ESPN-provided information on each play for a given event
, including but not limited to their ID, type, time of occurrence, strength-state, participants, and X and Y coordinates. Access get_espn_events()
for event
reference.
get_espn_event_play_by_play(event = 401687600)
event |
integer ESPN Event (Game) ID |
tibble with one row per play
NJD_BUF_2024_10_04_pbp <- get_espn_event_play_by_play(event=401687600)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.