dot-to_game_type_id: Convert to the appropriate game type ID

.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 June 29, 2026, 1:06 a.m.