Learn R Programming

nhlscraper (version 0.5.0)

game_type_now: 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()

Arguments

Value

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

Examples

Run this code
game_type_now <- game_type_now()

Run the code above in your browser using DataLab