Learn R Programming

nhlscraper (version 0.5.0)

espn_games: Access the ESPN games for a season

Description

espn_games() retrieves the ESPN games for a season as a data.frame where each row represents ESPN and includes detail on game timing, matchup state, scoring flow, and situational event detail.

Usage

espn_games(season = season_now())

Value

data.frame with one row per ESPN game

Arguments

season

integer in YYYYYYYY (e.g., 20242025); see seasons() for reference

Examples

Run this code
ESPN_games_20242025 <- espn_games(season = 20242025)

Run the code above in your browser using DataLab