holyBuilder: Holidays Builder

Description Usage Arguments Value Author(s) Examples

Description

This function provides a list of every holiday, according with the calendar of the country provided in the input (Italy is the default value but even France or Germany are accepted), returning not-week-end religious and government breaks. Easter and Pentecost days are not returned by the function for they are always on Sunday.

Usage

1
holyBuilder(startDate, endDate, country = "it")

Arguments

startDate

is the beginning of the calculation period

endDate

is the end of the calculation period

country

is the country for which the holidays are calculated: Italy ('it'), France ('fr') or Germany ('de')

Value

A vector with the list of the holidays

Author(s)

Michele Stefano Altieri, michelestefano.altieri@gmail.com

Examples

1
2
holidays <- holyBuilder('2016-01-01', '2018-12-31')
holidays

msaltieri/enertools documentation built on May 23, 2019, 7:50 a.m.