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

Examples

## holidayNERC -
   holidayNERC()
#> Eastern
#> [1] [2023-01-02] [2023-05-29] [2023-07-04] [2023-09-04] [2023-11-23]
#> [6] [2023-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]