Holidays (version 1.0-7)

Holidays-package: Supplies holiday data to the TimeWarp package.

Description

This package is a data-only package that registers holidays with the TimeWarp package. The package has no visible functions or data; it works by calling registerHolidays() from its .onLoad() function.

Arguments

See Also

From the TimeWarp package: holidays, registerHolidays, allHolidays.

Examples

Run this code
# NOT RUN {
# View counts of registered holidays by year
sapply(as.character(1998:2012), function(y)
       sapply(allHolidays(), function(h) length(holidays(y, h, silent=TRUE))))
# }

Run the code above in your browser using DataLab