Description Usage Arguments Value Examples
rcalendar() is the starting point for constructing a new custom calendar.
Holidays can be added to it with add_rholiday().
By default, since, until, adjust_on, and adjustment all propagate
to holidays added with add_rholiday().
1 2 3 4 5 6 7 |
name |
An optional name for the calendar. |
since |
A start date for the rcalendar. |
until |
An end date for the rcalendar. |
adjust_on |
If Otherwise, an rschedule that defines when an adjustment should be made.
For example, set to an rschedule for "on weekends", and
supply an |
adjustment |
If Otherwise, an adjustment function to apply to problematic dates. Typically
one of the pre-existing adjustment functions, like
|
An empty rcalendar.
1 2 3 4 5 6 7 | library(almanac)
cal <- rcalendar() %>%
add_rholiday(hldy_christmas) %>%
add_rholiday(hldy_new_years_day)
alma_search("2019-01-01", "2019-12-31", cal)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.