gie_unav | R Documentation |
Function to download data on AGSI+ and ALSI+ unavailability
gie_unav(
country = NULL,
start = NULL,
end = NULL,
type = NULL,
end_flag = NULL,
timeout = 3,
size = 30,
database = "agsi",
apikey = Sys.getenv("GIE_APIKEY")
)
country |
Character. Specify the country of interest as two-digit country code (e.g., 'DE', 'IE'). |
start |
Character. Specify the start of the time span you are |
end |
Character. Specify the end of the time span you are |
type |
Character. The type of unavailability info you want (choose between 'planned' and 'unplanned'). |
end_flag |
Character. The end flag for the unavailability info (choose between 'confirmed' and 'estimate'). |
timeout |
Numeric. If the amount of pages of your request exceeds 60, a timeout |
size |
Integer. The number of results per page. |
database |
Character. The type of API you want to address ('agsi' or 'alsi'). |
apikey |
Character. Your personal API key. |
A data.frame or list with the results.
## Not run:
gie_unav(country = "DE", date = "2022-01-03", database = "alsi")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.