View source: R/en_generation.R
gen_wind_solar_forecasts | R Documentation |
A respective forecast of wind and solar power net generation (MW) per area and each market time unit of the following/current day. The elements of the result list are representing each related forecast time range.
gen_wind_solar_forecasts(
eic = NULL,
period_start = lubridate::ymd(Sys.Date(), tz = "CET") - lubridate::days(x = 1L),
period_end = lubridate::ymd(Sys.Date(), tz = "CET"),
tidy_output = TRUE,
security_token = Sys.getenv("ENTSOE_PAT")
)
eic |
Energy Identification Code of the control area, bidding zone or country |
period_start |
POSIXct or YYYY-MM-DD HH:MM:SS format |
period_end |
POSIXct or YYYY-MM-DD HH:MM:SS format |
tidy_output |
Defaults to TRUE. If TRUE, then flatten nested tables. |
security_token |
Security token for ENTSO-E transparency platform |
df_list <- entsoeapi::gen_wind_solar_forecasts(
eic = "10YFR-RTE------C",
period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"),
period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"),
tidy_output = TRUE
)
str(df_list$`Day-ahead`)
str(df_list$`Intraday`)
str(df_list$`Current`)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.