Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce into buckets #45

Open
wheresrhys opened this issue Feb 4, 2016 · 1 comment
Open

reduce into buckets #45

wheresrhys opened this issue Feb 4, 2016 · 1 comment
Labels

Comments

@wheresrhys
Copy link
Owner

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()???

@wheresrhys wheresrhys added this to the v3 milestone Mar 1, 2016
@wheresrhys wheresrhys removed this from the v3 milestone Apr 11, 2016
@wheresrhys
Copy link
Owner Author

Nice to have, but not urgent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant