Learn R Programming

nhlscraper (version 0.4.2)

scores: Access the scores for a date

Description

scores() scrapes the scores for a given date.

Usage

scores(date = "now")

Value

data.frame with one row per game

Arguments

date

character in 'YYYY-MM-DD' (e.g., '2025-01-01'); see seasons() for reference

Examples

Run this code
scores_Halloween_2025 <- scores(date = '2025-10-31')

Run the code above in your browser using DataLab