I have following data.frame, DF DF is already in R. we Do not need to load it in r using read.csv or something
timeStamp count 1 2014-01-15 14:30:00 2 2 2014-01-15 16:30:00 3 3 2014-01-15 17:00:00 2 4 2014-01-15 17:15:00 1
I have an "independent seq of timestamps", say tmpSeq
from 2014-01-15 14:00:00
to 2014-01-22 13:00:00
. I want to get a List of counts from this data.frame and insert zeros for timeStamp
not present in data.frame but in the tmpSeq