Skip to contents

wsc_play_by_plays() downloads the cleaned season-level World Showcase parquet snapshot and pads situationCode to the four-character public format. For blocked-shot rows, xCoord, yCoord, xCoordNorm, yCoordNorm, distance, and angle describe the recorded block location, not the original shot-release location.

Usage

wsc_play_by_plays(season = 20242025)

wsc_pbps(season = 20242025)

Arguments

season

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

Value

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

Examples

# May take >5s, so skip.
wsc_pbps_20212022 <- wsc_play_by_plays(season = 20212022)