getHol: Create holiday database

View source: R/calendar_fun.R

getHolR Documentation

Create holiday database

Description

Creates a schedule for all types of holidays throughout the year in a form of a database including the weekday of each date.

Usage

getHol(hol, year)

Arguments

hol

a data.frame similar to holidays

year

numeric value representing the year to be computed

Value

a data.frame with 5 columns

Each row represents a day from the year computed. The columns are:

date

date

weekday

day of the week

is.nh

logical
Is the date a negotiated holiday?

is.lh

logical
Is the date a legal holiday?

is.sh

logical
Is the date a special holiday?

See Also

getCalDays


basilrabi/mansched documentation built on May 18, 2023, 1:29 p.m.