holiday_dates: Get dates of holidays

Description Usage Arguments Value

View source: R/dates.R

Description

Gives a vector of each holiday date

Usage

1
holiday_dates(year, country = "US")

Arguments

year

A vector of one or more years for which to list holiday dates

country

Two-letter country code

Value

Named character vector of holiday dates as "YYYY-MM-DD". The vector's names will be the concatenation of the country code, the holiday name, and the year.


lukerobert/luketools documentation built on Jan. 24, 2020, 2:15 a.m.