find_observedday | R Documentation |
When a holiday lands on Saturday or Sunday, they are typically observed the following Monday. Boxing day is an exception and will occur on Tuesday if Dec-26 occurs on a Monday.
find_observedday(year, month, day)
year |
character or numeric for 4 digit year. |
month |
character or numeric (01-12) for month of which holiday of interest occurs. |
day |
character or numeric (01-31) for day of which holiday of interest occurs. |
Date object in YYYY-MM-DD format.
find_observedday(2021, month = 12, day = 25)
lapply(c(1990:2000), find_observedday, month = 12, day = 25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.