add_holidays_mid_term {oRaklE}R Documentation

Add holidays to the mid-term series

Description

This function adds a dummy variable for holidays to the mid-term data series. Information on the holidays is retrieved from "https://date.nager.at/api/v3/publicholidays/".

Usage

add_holidays_mid_term(midterm_data)

Arguments

midterm_data

The mid-term data series resulting from the function decompose_load_data.

Value

The mid-term series with an additional column of holiday dummies.

See Also

See also mid_term_lm for the prediction model.

Examples

example_midterm_demand_data <- add_holidays_mid_term(example_decomposed_data$midterm)
head(example_midterm_demand_data)

[Package oRaklE version 1.0.1 Index]