game_type_now: Access the game type as of now

View source: R/League.R

game_type_nowR Documentation

Access the game type as of now

Description

game_type_now() retrieves the game type as of now and returns a scalar integer used as the current-context default in season/game-type dependent wrappers.

Usage

game_type_now()

Value

integer in 1:3 (where 1 = pre-season, 2 = regular season, 3 = playoff/post-season)

Examples

game_type_now <- game_type_now()

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