View source: R/add_holidays_mid_term.R
add_holidays_mid_term | R Documentation |
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/".
add_holidays_mid_term(midterm_data)
midterm_data |
The mid-term data series resulting from the function |
The mid-term series with an additional column of holiday dummies.
See also mid_term_lm
for the prediction model.
example_midterm_demand_data <- add_holidays_mid_term(example_decomposed_data$midterm)
head(example_midterm_demand_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.