Added Holidays
add_holidays.Rd
These functions add holiday dates that are not found in the timeDate package. These are either new federal holidays, or they are retail holidays which are not covered in the timeDate package.
Usage
USValentinesDay(year = timeDate::getRmetricsOptions("currentYear"))
USSuperBowl(year = timeDate::getRmetricsOptions("currentYear"))
USSaintPatricksDay(year = timeDate::getRmetricsOptions("currentYear"))
USMothersDay(year = timeDate::getRmetricsOptions("currentYear"))
USFathersDay(year = timeDate::getRmetricsOptions("currentYear"))
USHalloweenDay(year = timeDate::getRmetricsOptions("currentYear"))
USCyberMonday(year)
USBack2School(year = timeDate::getRmetricsOptions("currentYear"))
USTgt_Cirle_Wk_Summer(year = timeDate::getRmetricsOptions("currentYear"))
USTgt_Cirle_Wk_Fall(year = timeDate::getRmetricsOptions("currentYear"))
USJuneteenthDay(year = timeDate::getRmetricsOptions("currentYear"))
Holiday_Names(name, holiday_dates)
Arguments
- year
numeric
A vector of year integers.- name
character
Name of the holiday represented by the holiday_dates vector.- holiday_dates
Dates
A vector of dates representing the holiday.