dot-shot_event_mask: Build a shot-event mask

.shot_event_maskR Documentation

Build a shot-event mask

Description

.shot_event_mask() flags play-by-play rows matching selected event types.

Usage

.shot_event_mask(play_by_play, types)

Arguments

play_by_play

data.frame play-by-play object

types

character vector of event type keys to keep

Value

logical vector


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