The unavailabilityProductionEntsoe
package provides functions to download, analyze and aggregate indisponibility data fram ENTSOE platform.
Todo!
# Install dependencies
devtools::install_github("rte-antares-rpackage/unavailabilityProductionEntsoe")
To use this package you must create an account on ENTSOE platform, you will need an acces token. You can acces to ENTSOE API : https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html
library(unavailabilityProductionEntsoe)
token <- "My-token"
#NL
getDataOutagesProduction(token = token, bz = "10YNL----------L", docType = "A80",
start = "2018-01-01", end = "2018-02-28", fileToMerge = "NLindispo.csv")
After use of getDataOutagesProduction, you have save data in a CSV file. You can visualize data with :
runIndispoApp("NLindispo.csv")
After use of getDataOutagesProduction, you have save data in a CSV file. You can create time series data with giveTS.
giveTS("NLindispo.csv", outFile = "NLindispoTS.csv")
aggregateIndispo("NLindispoTS.csv", "ag1.csv", c("date", "hour", "productionType"))
aggregateIndispo("NLindispoTS.csv", "ag2.csv", c("date", "hour", "productionType"), colDcast = "productionType")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.