View source: R/get_entsoE_data.R
get_entsoE_data | R Documentation |
This function makes various API requests to the Transparency Platform of the European Network of Transmission System Operators for Electricity (ENTSO-E, https://transparency.entsoe.eu/) and stores the downloaded load data in a data frame. The earliest possible year for the requested load time series is 2017.
get_entsoE_data(
start_year,
end_year,
country,
api_key = "default",
dry_run = FALSE
)
start_year |
Numeric. The starting year for which load data will be requested. |
end_year |
Numeric. The final year for which load data will be requested. |
country |
Character. The country name for which load data will be requested provided as the English name of the country. |
api_key |
Character. A valid API key for the ENTSO-E Transparency Platform. If set to "default", one of the deposited keys will be used. |
dry_run |
Boolean. Defaults to FALSE. This is only set to TRUE for the example run. |
A Data Frame with the following columns
The series of dates, POSIXct format.
The series of load data, numeric
The series of units in which the load data is provided, character.
The year of each load data point, numeric
The time resolution of each load data point, character
The ISO2C Country Code, character
example_demand_data <- get_entsoE_data(2017, 2021, "France", api_key = "default", dry_run = TRUE)
print(example_demand_data[1:20, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.