load_nhl_schedule | R Documentation |
helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots
load_nhl_schedule(
seasons = most_recent_nhl_season(),
...,
dbConnection = NULL,
tablename = NULL
)
seasons |
A vector of 4-digit years associated with given NHL seasons. (Min: 2011) |
... |
Additional arguments passed to an underlying function that writes
the season data into a database (used by |
dbConnection |
A |
tablename |
The name of the schedule data table within the database |
Returns a tibble
try(load_nhl_schedule(2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.