Description Usage Arguments Value Examples
fetch schedule info between given dates from the nhl api
1 | fetch_schedule(start_date = "", end_date = "", team_id = "")
|
start_date |
a string written as mm/dd/yyyy that represents the start date of the desired schedule period, default to empty |
end_date |
a string written as mm/dd/yyyy that represents the end date of the desired schedule period, default to empty |
team_id |
a number or string that represent the id of an nhl team, if not feed return schedule for all teams |
data.table that contains all schedule info for the period between the given dates, return the schedule for the current day if no dates are passed as arguments
1 2 3 | fetch_schedule("03/16/2019", "03/18/2019")
fetch_schedule(team_id = 8)
fetch_schedule("01/16/2019", "03/18/2019", 8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.