holiday-NERC: NERC Holiday Calendar

Description Usage Arguments Value Author(s) References Examples

Description

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

Usage

1
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

returns an object of class timeDate.

Author(s)

Joe W. Byers

References

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

Examples

1
2
3
## holidayNERC -
   holidayNERC()
   holidayNERC(2008:2010)

Example output

Eastern
[1] [2017-01-02] [2017-05-29] [2017-07-04] [2017-09-04] [2017-11-23]
[6] [2017-12-25]
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]

timeDate documentation built on May 29, 2017, 12:27 p.m.

Search within the timeDate package
Search all R packages, documentation and source code