couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: Is their a straightforward way of calculating mean value?
Date Thu, 14 Oct 2010 08:52:31 GMT
http://wiki.apache.org/couchdb/Built-In_Reduce_Functions#A_stats

Using the string "_stats" as your reduce function will get you a
built-in reduction that contains both "count" and "sum" fields in the
output.

On Thu, Oct 14, 2010 at 00:29, sleepy <wanpeebaw@gmail.com> wrote:
> Hi,
>
> I'm doing some statistics on my data and wondering is there
> an straightforward way of calculating the mean value through reduce
> function.
> Maybe a build-in reduce function or something...
>
> sleepnova
>

Mime
View raw message