prod_compare: compare production by types and production by groups

Description Usage Arguments Examples

Description

compare by types and by groups production data.

Usage

1
prod_compare(prod_type, group_prod)

Arguments

prod_type

data produced by read_prod_type

group_prod

data produced by read_prod_group

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
global_options <- getOption("global_options")
production_dir <- system.file(package = "antaDraft", "data_sample",
  "prod_sample_20160129/B01")
capacity_dir <- system.file(package = "antaDraft", "data_sample",
  "prod_sample_20160129/B06")
prod_by_types <- read_prod_type(production_dir, capacity_dir,
  production_file = global_options$thermal_production_per_country)
production_dir <- system.file(package = "antaDraft", "data_sample",
  "prod_sample_20160129/B02")
prod_by_groups <- read_prod_group(production_dir,
  production_file = global_options$thermal_production_per_country)
comparison <- prod_compare( prod_by_types, prod_by_groups )
comparison <- augment_validation(comparison)
qc_comp <- qualcon(comparison)
render_quality(qc_comp, "qc_cmp_dir")

rte-antares-rpackage/antaDraft documentation built on May 14, 2019, 2:59 p.m.