espn_play_by_play: Access the ESPN play-by-play for a game

View source: R/ESPNGame.R

espn_play_by_playR Documentation

Access the ESPN play-by-play for a game

Description

espn_play_by_play() returns ESPN's play rows for one game with one row per event, normalized event IDs, period labels, clock/text fields, team refs, and coordinate fields when ESPN supplies them.

Usage

espn_play_by_play(game = 401777460)

espn_pbp(game = 401777460)

Arguments

game

integer ID (e.g., 401777460); see espn_games() for reference

Value

data.frame with one row per event (play)

Examples

ESPN_pbp_SCF_20242025 <- espn_play_by_play(game = 401777460)

nhlscraper documentation built on June 29, 2026, 1:06 a.m.