games_today: Games Today

View source: R/api-interface.R

games_todayR Documentation

Games Today

Description

given a schedule, it returns todays (or another date's) scheduled games (excluding postponements), or NULL if there are none

Usage

games_today(
  schedule = HockeyModel::schedule,
  date = Sys.Date(),
  all_games = FALSE
)

Arguments

schedule

the schedule within which to look for games

date

the date to look for games, as a date

all_games

whether to return all games scheduled for a date (True) or exclude postponed, rescheduled, in-progress, or completed games (False, default)

Value

Scheduled games (in the format of the schedule) for the requested date, or NULL if none


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.