knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
entsoeR wraps the API from Entso-e.
The API returns some very un-tidy xml files and these are made as tidy as possible. However, the output is still rather complicated as there are nedsted data.frames in list columns.
To get an API key, you must follow the instructions here.
When you have got the API key, it's recommended to save it to your .Renviron file as shown below. The package will search for the key, so you don't have to add it to all your scripts.
ENTSOE_PAT = "<ENSTO-E-API-KEY>"
You can install entsoeR from github with:
# install.packages("devtools") devtools::install_github("krose/entsoeR")
This is a basic example which shows you how to solve a common problem:
## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.