R is new for me and I am working with a (private) data set.
I have the following problem, I have a lot of time series:
2015-04-27 12:29:48 2015-04-
you are on the right path - try : summarise(newVal = sum(energy$value) ) for your summarise call. df<- energy %>% group_by(datetime) %>% summarise(sum =sum(value)) )
summarise(newVal = sum(energy$value) )
df<- energy %>% group_by(datetime) %>% summarise(sum =sum(value)) )