View source: R/api-interface.R
games_today | R Documentation |
given a schedule, it returns todays (or another date's) scheduled games (excluding postponements), or NULL if there are none
games_today(
schedule = HockeyModel::schedule,
date = Sys.Date(),
all_games = FALSE
)
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) |
Scheduled games (in the format of the schedule) for the requested date, or NULL if none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.