Learn R Programming

nhlscraper (version 0.4.2)

shift_charts: Access the shift charts for a season

Description

shift_charts() loads the shift charts for a given season.

Usage

shift_charts(season = 20242025)

Value

data.frame with one row per event (play) per game

Arguments

season

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

Examples

Run this code
# May take >5s, so skip.
shift_charts_20212022 <- shift_charts(season = 20212022)

Run the code above in your browser using DataLab