Learn R Programming

nhlscraper (version 0.2.0)

get_espn_event_play_by_play: Get event (game) play-by-play by ESPN Event (Game) ID

Description

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.

Usage

get_espn_event_play_by_play(event = 401687600)

Value

tibble with one row per play

Arguments

event

integer ESPN Event (Game) ID

Examples

Run this code
NJD_BUF_2024_10_04_pbp <- get_espn_event_play_by_play(event=401687600)

Run the code above in your browser using DataLab