Description Usage Arguments Value Examples
View source: R/holiday_query.R
An easy query that selects a specific holiday and year or years
1 | holiday_query(holiday_name, holiday_years = NULL)
|
holiday_name |
A required argument that specifies the holiday name |
holiday_years |
An optional argument that selects the years for the holiday. This argument takes four-digit numeric values. It can be a single year, a range of years, or a vector of different years |
A dataframe of selected holiday dates
1 2 3 | holiday_query('thanksgiving',2000)
holiday_query('new year',2018:2020)
holiday_query('mlk day', c(1990,2000,2100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.