get_historic_load_data {oRaklE} | R Documentation |
Load historic yearly average load data
Description
This function utilizes two historical load datasets obtained from the archive of https://www.entsoe.eu/data/power-stats/.
It calculates the hourly average load for each year and appends the results to the long-term dataframe generated by decompose_load_data
.
Usage
get_historic_load_data(longterm)
Arguments
longterm |
A data frame object with "country", "year", and "avg_hourly_demand" columns resulting from the function |
Value
Data frame with "country", "year", and "avg_hourly_demand" (yearly average of hourly demand).
Examples
print("Input dataframe should be in the following form:")
example_decomposed_data$longterm
example_longterm_data <- get_historic_load_data(example_decomposed_data$longterm)
print("Historic load data is added starting from 2006.")
example_longterm_data
[Package oRaklE version 1.0.1 Index]