I have a day node and another node I want to average for every n days. I want there to be a moving window for every 7 days. And, I want to return every day. So, every row return will be the average of that day and the previous 7 days. I can't show code because the data is not mine.
(thing)-[] ->(day)
....
RETURN thing.metric as sevenDayAvg, day