wsc_play_by_play() retrieves the World Showcase (WSC) play-by-play for a
game as a data.frame where each row represents an event. The returned
schema follows the same cleaned public-facing naming as gc_play_by_play(),
including servedByPlayerId, goalieInNetId, and utc immediately after
secondsElapsedInGame while omitting GC-only clip fields. It also includes
the same HTML-report-derived on-ice player ID columns added to the GC output,
including dynamically expanded overflow skater slots when needed. HTML report
skater and goalie IDs are returned whenever they can be matched back to a
supported row, even when the raw situationCode is stale. Use add_shift_times()
with shift_chart() (or shift_charts()) to add on-ice shift timing columns.
Arguments
- game
integer ID (e.g., 2025020275); see
games()for reference
