13.1 Overview
13.1.1 Goal
Create an overview of typical daily profiles per weekday and season of year with a confidence band where most of the values lie:
13.1.2 Data Basis
Energy consumption values of one whole year in an interval of 15mins.
13.1.3 Solution
Create a new script, copy/paste the following code and run it:
library(ggplot2)
library(dplyr)
library(lubridate)
library(redutils)
library(ggplot2)
library(plotly)
# load time series data
df <- readRDS(system.file("sampleData/eboBookEleMeter.rds", package = "redutils"))
plot <- plotDailyProfilesOverview(df,
locTimeZone = "Europe/Zurich",
main = "Daily Profiles Overview by Weekday and Season",
ylab = "Power (kW)",
col = "black",
confidence = 95.0)
ggplotly(plot)