View source: R/add_holidays_short_term.R
add_holidays_short_term | R Documentation |
This function adds a dummy variable for holidays to the short-term data series. Information on the holidays is retrieved from "https://date.nager.at/api/v3/publicholidays/".
add_holidays_short_term(shortterm)
shortterm |
The short-term data series resulting from |
The short-term series with an additional column of holiday dummies.
example_shortterm_demand_data <- add_holidays_short_term(example_decomposed_data$shortterm)
example_shortterm_demand_data[1:5, c(1, 2, 11)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.