Learn R Programming

nhlscraper (version 0.2.0)

get_wsc_play_by_play: Get World Showcase (WSC) play-by-play by game

Description

get_wsc_play_by_play() retrieves WSC-provided information on each play for a given game, including but not limited to their ID; time and strength state of occurrence; winning, losing, blocking, shooting, hitting, hit, scoring, assisting, committed-by, drawn-by, and/or served-by player IDs; and X and Y coordinates. Access get_games() for game reference.

Usage

get_wsc_play_by_play(game = 2024020602)

Value

tibble with one row per play

Arguments

game

integer Game ID

Examples

Run this code
wsc_pbp_2024030411 <- get_wsc_play_by_play(game=2024030411)

Run the code above in your browser using DataLab