Learn R Programming

nhlscraper (version 0.4.2)

espn_games: Access the ESPN games for a season

Description

espn_games() scrapes the ESPN games for a given season.

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