Description Usage Arguments Value Author(s) Examples
This function is used to generate a vector of holiday and weekend Interval
objects as defined by lubridate. It requires an active internet connection as it makes use of the Enrico service available at http://www.kayaposoft.com/enrico/ to determine holidays for a given locality. This is used to exclude weekends and holidays from Duration
and Period
calculations.
1 2 3 | list_holidays_and_weekends(from_date = "01-01-2011", to_date = "01-01-2111",
country_filter = "usa", region_filter = "Washington",
tz = "America/Los_Angeles")
|
from_date |
A character string specifying the start date of the |
to_date |
A character string specifying the stop date of the |
country_filter |
A character string specifying country of the holidays as required by the Enrico service. Defaults to 'usa'. |
region_filter |
A character string specifying region, of the country, of the holidays as required by the Enrico service. Defaults to 'Washington'. |
A vector of lubridate Interval
objects.
Joe Mienko, mienkoja@uw.edu
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.