dot-xg_prepare_play_by_play: Prepare play-by-play for xG scoring

.xg_prepare_play_by_playR Documentation

Prepare play-by-play for xG scoring

Description

.xg_prepare_play_by_play() is an internal helper for calculate_expected_goals().

Usage

.xg_prepare_play_by_play(play_by_play)

Arguments

play_by_play

data.frame play-by-play input

Value

Internal helper output.


nhlscraper documentation built on June 29, 2026, 1:06 a.m.