Description Usage Arguments Value Examples
Retrieve NTC data via RTE data API
1 2 3 |
token |
Token obtained with |
type |
NTC due type, mandatory, one or several between 'ANNUAL', 'MONTHLY', 'WEEKLY', 'D-1', 'CURTAILED'. |
start_date |
Optional, starting date to filter results,
if used, |
end_date |
Optional, ending date to filter results. |
country_eic_code |
Country code. |
user |
Username (NNI) for proxy if needeed. |
proxy_pwd |
Password for proxy if needeed. |
a data.table
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# First you need a token
id_client <- "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
id_secret <- "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
token <- get_token(
key = list(id_client = id_client, id_secret = id_secret)
)
# Then you can retrieve NTC data
ntc <- get_ntc(token = token, type = c("ANNUAL", "MONTHLY"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.