retrieve_active_units: Retrieve generation per unit

Description Usage Arguments Value Examples

Description

Retrieve generation per unit

Usage

1
2
retrieve_active_units(start_date = NULL, end_date = NULL,
  tokens = list())

Arguments

start_date

Optional, starting date to filter results.

end_date

Optional, ending date to filter results.

tokens

Optional, a list of length 2 with tokens for actual_generation and generation_installed_capacities APIs (in this order). Can be a named list to match concerned API.

Value

a data.table

Examples

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

library(rte.data)
library(data.table)

dat <- retrieve_active_units()
dat

dat[name %chin% "TRICASTIN 1"]


## End(Not run)

dreamRs/rte.data documentation built on June 18, 2019, 8:02 a.m.