Description Usage Arguments Details Value Author(s)
View source: R/clean-smd-data.R
Cleans smd data for GEFCOM-D. Removes DST hours and adjusts DoY values in leap years.
1 | clean_smd_data(smd)
|
smd |
smd data frame containing columns DoY, Year and ts. |
The DoY adjustment for leap years sets 29th Feb to have the same DoY as 28th Feb (59) and subtracts 1 from DoY for all days after 29th Feb. This results in both leap years and non-leap years having DoY values of 1,2,...,365.
smd data_frame containing raw data and calendar variables
Cameron Roach
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.