ne-sachirou/stream_stat

View on GitHub
README.md.erb

Summary

Maintainability
Test Coverage
StreamStat: Aggregate large data statictics with streaming.

[![Gem Version](https://badge.fury.io/rb/stream_stat.svg)](https://badge.fury.io/rb/stream_stat)
[![Dependency Status](https://gemnasium.com/badges/github.com/ne-sachirou/stream_stat.svg)](https://gemnasium.com/github.com/ne-sachirou/stream_stat)
[![Build Status](https://travis-ci.org/ne-sachirou/stream_stat.svg?branch=master)](https://travis-ci.org/ne-sachirou/stream_stat)
[![Code Climate](https://codeclimate.com/github/ne-sachirou/stream_stat/badges/gpa.svg)](https://codeclimate.com/github/ne-sachirou/stream_stat)
[![Test Coverage](https://codeclimate.com/github/ne-sachirou/stream_stat/badges/coverage.svg)](https://codeclimate.com/github/ne-sachirou/stream_stat/coverage)

StreamStat
==
A library to aggragate statistics of large data with streaming, less memory.

Currently supported are:

- average 平均 `:avg`
- variance 分散 `:variance`
- standard deviation 標準偏差 `:sd`
- minimun 最小値 `:min`
- maximum 最大値 `:max`

Usage
--
<% @examples[0..1].each do |example| %>
<%= example.description %>

```ruby
<%= example.code %>
```
<% end %>
[doc](http://www.rubydoc.info/gems/stream_stat)

Installation
--
Add this line to your application's Gemfile:

```ruby
gem 'stream_stat'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install stream_stat

<%# vim:set ft=markdown: %>