agg_data: Aggregate raw dataset from country rules

Description Usage Arguments Examples

Description

From a raw dataset and a set of rules, aggregations are performed to produce for each country, possible date points (and eventually other dimensions) a set of measure(s).

Usage

1
2
3
4
5
6
7
agg_data(x, ...)

## S3 method for class 'load_raw'
agg_data(x, ...)

## S3 method for class 'prod_by_type'
agg_data(x, ...)

Arguments

x

raw dataset.

...

arguments to be passed to methods.

Examples

1
2
3
4
5
6
7
8
load_dir <- system.file(package = "antaDraft",
  "data_sample/load_sample_2017")

load_data <- anta_load(data_dir = load_dir )
load_data <- augment_validation(data = load_data)
head(load_data)

aggregated_db <- agg_data(load_data)

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