50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

almanac (version 1.0.0)

cal_names: Calendar names

Description

cal_names() returns the names of the holidays in a calendar.

Usage

cal_names(x)

Value

A character vector of holiday names.

Arguments

x

[rcalendar]

An rcalendar.

Examples

Run this code
x <- rcalendar(hol_christmas(), hol_new_years_day())
cal_names(x)

Run the code above in your browser using DataLab