library(dplyr)
library(lubridate)
data %>%
group_by(floor_date(Timestamp, unit = "day")) %>%
summarise(rain = sum(Rain_mm_tot))
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality
Hi there,
I am trying to get the sum of rain per day.
That is what the data-set looks like:
TimestampRain_mm_Tot
2017-05-29 23:40:00 4.780
2017-05-29 23:50:00 1.200
2017-05-30 00:10:00 2.580
2017-05-30 00:20:00 1.2009600
2 matches
Mail list logo