generatets: Generate Regular Time Stamps

Description Usage Arguments

View source: R/functions_L1.R

Description

generatets generates regular time stamps over whole period at specified resolution (reso).

Usage

1
generatets(df, reso, year, tz)

Arguments

df

input data.frame.

reso

numeric, desired output time resolution (in minutes). See Details for more information on data aggregation.

year

character, if year = "asis" the output data.frame covers the same period as the input data; if year = "full" then the output data.frame is expanded to complete years, i.e. YYYY-01-01 to YYYY-12-31.

tz

specify the desired time zone. Default is "UTC".


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.