Learn R Programming

timeDate (version 290.83)

listHolidays: List of Holidayss

Description

Returns the list of holidays.

Usage

listHolidays(pattern = ".*")

Arguments

pattern
a pattern character string as required by the grep function.

Value

  • returns a list of holidays as a character vector.

Examples

Run this code
## listHolidays -

   # All Holidays:
   listHolidays()
   
   # Local Swiss Holidays:
   listHolidays("CH")

Run the code above in your browser using DataLab