detect_holidays_in_tertiary_buildings | R Documentation |
The function detects holiday periods in buildings with highly seasonal patterns. An analysis of turnpoints in density function is performed to identify "over represented" low consumption dates. Additional post-processing is done in order to take care of additional constraints related to holidays period
detect_holidays_in_tertiary_buildings(
data,
consumptionColumn,
timeColumn,
plotDensity = T,
ignoreDates = c(),
tz = "UTC"
)
data |
<data.frame> Time series with potential anomalies in values |
consumptionColumn |
<string> Value column |
timeColumn |
<string> Time column |
plotDensity |
<boolean> Plot density function used to obtain holidays consumption threshold |
ignoreDates |
<list> Ignore list of dates in time series. |
tz |
<string> specifying the local time zone related to the building in analysis. The format of this time zones are defined by the IANA Time Zone Database (https://www.iana.org/time-zones). |
<array> of dates with classified as holidays.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.