calBuilder: Hourly & Quarter-Hourly Calendar Builder

Description Usage Arguments Value Author(s) Examples

Description

This functions builds an hourly or quarter-hourly calendar between two given dates according to the Italian Daylight Saving Time (DST) switching days, i.e. the last Sunday of March (-1 hour) and the last Sunday of October (+1 hour).

Usage

1
calBuilder(start_date, end_date, method = "hourly")

Arguments

start_date

the starting date of the calendar that has to be built.

end_date

the end date of the calendar that has to be built.

method

the method to be used: it could be hourly (default) or quarter_hourly.

Value

calBuilder returns an object of class data.table.

Author(s)

Michele Stefano Altieri, michelestefano.altieri@gmail.com

Examples

1
2
cal <- calBuilder('2017-01-01', '2017-12-31')
cal

msaltieri/enertools documentation built on May 23, 2019, 7:50 a.m.