Skip to contents

Get holidays category

Usage

get_holiday_types(data)

Arguments

data

a data.frame with the following column: type, the category of the holiday. Typically, the output of get_holidays().

Value

A character with the categories of holidays.

Examples

if (FALSE) {
## Get holidays for United Kingdom in 2024 ----
holidays <- get_holidays(country = "UK", year = 2024, month = 4)

## Get types of holidays ----
get_holiday_types(holidays)
}