Skip to content

ReQL proposal: r.hist #2519

Open
Open

Description

@coffeemug
r.table('users').hist('age', buckets=5, ...)

Talking to @wojons about it, and he suggested this would be an extremely useful command. I'm not writing up the full spec now, we should discuss it, but we'd also want to be able to say "give me 95th percentile" or some such.

Activity

  1. added this to the subsequent milestone on Jun 7, 2014
  2. wojons commented on Jun 9, 2014

    @wojons
    Contributor

    so from what i can see this should be correct the result should be an array of numbers averaged(?). because lets say i want the top 5 percent. i would do something like

    r.table('users').hist('age', buckets=100) 
    

    then i will just need to do the average on index items from 95-100. not sure if reql array syntax is like pythons at all.

  3. modified the milestones: subsequent, backlog on Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions