get_holidays: Get holidays from date vector

View source: R/date_ops.R

get_holidaysR Documentation

Get holidays from date vector

Description

Get holidays from date vector

Usage

get_holidays(dates, holidays = c("LaborDay", "NewYearsDay", "ChristmasDay"))

Arguments

dates

Date vector

holidays

Character vector: holidays to extract

Value

Factor of length length(dates) with levels "Not Holiday", "Holiday"


egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.