get_eco2mix: Get data from eco2mix via Open-RTE API

Description Usage Arguments Value Examples

Description

Get data from eco2mix via Open-RTE API

Usage

1
2
get_eco2mix(from = NULL, to = NULL, resource = c("tr", "cons"),
  user = NULL, proxy_pwd = NULL)

Arguments

from

date from which to retrieve data.

to

date until which to recover data.

resource

resource to use between real time ("tr") or consolidated data ("cons").

user

Username (NNI) for proxy if needeed.

proxy_pwd

Password for proxy if needeed.

Value

a data.table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

eco2mix <- get_eco2mix(
  from = "2018-01-06",
  to = "2018-01-12",
  user = "NNI",         # needeed if no internet connection open
  proxy_pwd = "PASSWORD"
)


## End(Not run)

rte-antares-rpackage/antaresWeeklyMargin documentation built on May 16, 2019, 8:15 p.m.