Learn R Programming

nhlscraper (version 0.4.2)

gc_play_by_play: Access the GameCenter (GC) play-by-play for a game

Description

gc_play_by_play() scrapes the GC play-by-play for a given game.

Usage

gc_play_by_play(game = 2023030417)

gc_pbp(game = 2023030417)

Value

data.frame with one row per event (play)

Arguments

game

integer ID (e.g., 2025020275); see games() for reference

Examples

Run this code
gc_pbp_Martin_Necas_legacy_game <- gc_play_by_play(game = 2025020275)

Run the code above in your browser using DataLab