Skip to contents

Returns a holiday calendar for NERC, the North American Reliability Council.

Usage

holidayNERC(year = getRmetricsOptions("currentYear"), FinCenter = "Eastern")

Arguments

year

an integer value or vector of years, formatted as YYYY.

FinCenter

a character value, the name of the financial center to use.

Value

an object of class "timeDate"

Author

Joe W. Byers

References

http://www.nerc.com/~oc/offpeaks.html

See also

holidayLONDON, holidayNYSE, holidayTSX, holidayZURICH for holidays at other major financial centers.

BoxingDay, etc., for descriptions of the individual holiday functions,

listHolidays for a list (character vector) of all holidays,

holiday alternative to calling directly individual holiday functions (takes one or more holiday functions as argument),

Easter

Examples

holidayNERC()
#> Eastern
#> [1] [2025-01-01] [2025-05-26] [2025-07-04] [2025-09-01] [2025-11-27]
#> [6] [2025-12-25]
holidayNERC(2008:2010)
#> Eastern
#>  [1] [2008-01-01] [2008-05-26] [2008-07-04] [2008-09-01] [2008-11-27]
#>  [6] [2008-12-25] [2009-01-01] [2009-05-25] [2009-07-04] [2009-09-07]
#> [11] [2009-11-26] [2009-12-25] [2010-01-01] [2010-05-31] [2010-07-05]
#> [16] [2010-09-06] [2010-11-25] [2010-12-25]