reduce into buckets
wheresrhys opened this issue · comments
e.g. fetch data with an interval of d
, then take a weekly average of the results
or bucket into users who are following 0, 1, 2-5, 5+ topics
perhaps
->reduce(timeframe,avg,every_5)
= buckets every 5 events. Only really makes sense for time or similar series->reduce(myft.follows,sum,0,1,2:5,6+)
. mostly makes sense for numeric. For continuous series it shoudl be a>=lower and a < higher
does it need another method name ->bucket()
???
Nice to have, but not urgent