View source: R/resample_provBz_data2.R
resamples data from the province of Bozen monitoring stations. uses data.table
1 | resample_provBz_data2(df, roundFUN, round = "hour", statsFUN, ...)
|
df |
The data.table downloaded. Has to have colnames = "TimeStamp", "Station", "Sensor", "Value" |
roundFUN |
the resampling function. Possible options lubridate::ceiling_date,lubridate::floor_date,lubridate::round_date |
round |
the resampling period. Possible options "raw" "hour" "day" "week" "month". Passed to lubridate::round_date |
statsFUN |
the "statistical" function. any function that takes a vector in inpunt and a single value in output |
... |
additional arguments passed to statsFUN |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.