Description Usage Arguments Examples
sch_add()
allows you to add an event
to a schedule, optionally providing
a name
for the event.
1 |
x |
A schedule. |
event |
An event. |
name |
A name for the event. If left as |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Labor Day = First Monday in September
on_labor_day <- on_month("Sep") & on_wday("Mon") & on_mweek(1)
# Christmas = December 25th
on_christmas <- on_month("Dec") & on_mday(25)
sch <- schedule()
sch <- sch_add(sch, on_labor_day, "Labor Day")
sch <- sch_add(sch, on_christmas, "Christmas")
sch
sch_in("2019-01-01", sch)
sch_in("2019-12-25", sch)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.