Learn R Programming

nhlscraper (version 0.4.2)

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

Description

espn_play_by_play() scrapes the ESPN play-by-play for a given game.

Usage

espn_play_by_play(game = 401777460)

espn_pbp(game = 401777460)

Value

data.frame with one row per event (play)

Arguments

game

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

Examples

Run this code
ESPN_pbp_SCF_20242025 <- espn_play_by_play(game = 401777460)

Run the code above in your browser using DataLab