Description Usage Arguments Examples
import csv data representing production per types. The data is read from an entsoe repository.
1 2 | read_prod_type(production_dir = NULL, capacity_dir = NULL,
production_file = NULL)
|
production_dir |
datasets directory of data energy productions by types. |
capacity_dir |
datasets directory of data energy capacities by types. |
production_file |
YAML production file to be used. This file should contain for each country a list of production types. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | production_dir <- system.file(package = "antaDraft", "data_sample",
"prod_sample_20160129/B01")
capacity_dir <- system.file(package = "antaDraft", "data_sample",
"prod_sample_20160129/B06")
global_options <- getOption("global_options")
prod_by_types <- read_prod_type(production_dir = production_dir,
capacity_dir = capacity_dir,
production_file = global_options$thermal_production_per_country)
# Existing lists of production types -----
system.file(package = "antaDraft", "config/global/thermal_production.yml")
system.file(package = "antaDraft", "config/global/hps_production.yml")
system.file(package = "antaDraft", "config/global/thermal_production.yml")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.