to_game_type_id: Convert to the appropriate game type ID

View source: R/Utility.R

to_game_type_idR Documentation

Convert to the appropriate game type ID

Description

Convert to the appropriate game type ID

Usage

to_game_type_id(game_type)

Arguments

game_type

integer in 1:3 (where 1 = pre-season, 2 = regular season, 3 = playoff/post-season) OR character of 'pre', 'regular', or 'playoff'/'post'

Value

integer in 1:3


nhlscraper documentation built on Dec. 17, 2025, 5:10 p.m.