Description Usage Arguments Value Holidays Examples
View source: R/cal-usa-federal.R
cal_usa_federal() is a federal calendar for the United States.
1 | cal_usa_federal(since = "1900-01-01", until = "2100-01-01", observed = TRUE)
|
since |
The lower bound on where to begin looking for the holiday. |
until |
The upper bound on where to end looking for the holiday. |
observed |
If the holiday falls on a weekend, should the observed date be returned?
The observed date is the nearest weekday. If |
An rcalendar.
Martin Luther King Jr. Day
Christmas
New Year's Day
1 2 3 4 5 | library(almanac)
cal <- cal_usa_federal()
alma_search("2000-01-01", "2001-01-01", cal)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.