augment_daylight: add day light columns

Description Usage Arguments Examples

Description

add day light columns

Usage

1
augment_daylight(x, loc_id = "country")

Arguments

x

dataset

loc_id

column name specifying the location column (country)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)
aggregated_db <- augment_validation(aggregated_db)
aggregated_db <- data_correct_with_rules(aggregated_db)
aggregated_db <- augment_process_summary(aggregated_db)
aggregated_db <- augment_holiday(aggregated_db)
aggregated_db <- augment_seasons_id(aggregated_db)
aggregated_db <- augment_daylight(aggregated_db)
head(aggregated_db)

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