I need to aggregate data for a higher time frame. I have data for 1 min time frame as follows
Time Min Max
15:00 9 31
15:01 7 19
15:02 7 19
15:03 8 17
15:04 8 22
15:05 4 25
and need producing data for 5 min frame. My approach is to take 5 previous records inclusively starting from 15:05
and calculate min/max withing that bucket, is that how they do it?
My Result for 5 min frame:
Time Min Max
15:05 4 25
Can anyone confirm if this is the correct way of aggregating data?