Skip to content

Commit

Permalink
Miller 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Dec 9, 2015
1 parent 08091b0 commit b1004a2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
36 changes: 18 additions & 18 deletions doc/data-examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
<pre>
$ cat data/flins.csv | mlr --icsv --opprint stats1 -a min,mean,max -f tiv_2012
tiv_2012_min tiv_2012_mean tiv_2012_max
73.370000 2571004.097342 73.370000
73.370000 2571004.097342 1701000000.000000
</pre>
</div>
<p/>
Expand All @@ -216,11 +216,11 @@
<pre>
$ cat data/flins.csv | mlr --icsv --opprint stats1 -a min,mean,max -f tiv_2012 -g construction,line
construction line tiv_2012_min tiv_2012_mean tiv_2012_max
Masonry Residential 261168.070000 1041986.129217 261168.070000
Wood Residential 73.370000 113493.017049 73.370000
Reinforced Concrete Commercial 6416016.010000 20212428.681840 6416016.010000
Reinforced Masonry Commercial 1287817.340000 4621372.981117 1287817.340000
Steel Frame Commercial 29790000 133492500.000000 29790000
Masonry Residential 261168.070000 1041986.129217 3234970.920000
Wood Residential 73.370000 113493.017049 649046.120000
Reinforced Concrete Commercial 6416016.010000 20212428.681840 60570000.000000
Reinforced Masonry Commercial 1287817.340000 4621372.981117 16650000.000000
Steel Frame Commercial 29790000 133492500.000000 1701000000
</pre>
</div>
<p/>
Expand Down Expand Up @@ -390,15 +390,15 @@
$ mlr --oxtab stats1 -a min,mean,max -f flag,u,v data/colored-shapes.dkvp | creach 3
flag_min 0
flag_mean 0.398889
flag_max 0
flag_max 1

u_min 0.000044
u_mean 0.498326
u_max 0.000044
u_max 0.999969

v_min -0.092709
v_mean 0.497787
v_max -0.092709
v_max 1.072500
</pre>
</div>
<p/>
Expand Down Expand Up @@ -433,12 +433,12 @@
<pre>
$ mlr --opprint stats1 -a min,mean,max -f flag,u,v -g color then sort -f color data/colored-shapes.dkvp
color flag_min flag_mean flag_max u_min u_mean u_max v_min v_mean v_max
blue 0 0.584354 0 0.000044 0.517717 0.000044 0.001489 0.491056 0.001489
green 0 0.209197 0 0.000488 0.504861 0.000488 0.000501 0.499085 0.000501
orange 0 0.521452 0 0.001235 0.490532 0.001235 0.002449 0.487764 0.002449
purple 0 0.090193 0 0.000266 0.494005 0.000266 0.000364 0.497051 0.000364
red 0 0.303167 0 0.000671 0.492560 0.000671 -0.092709 0.496535 -0.092709
yellow 0 0.892427 0 0.001300 0.497129 0.001300 0.000711 0.510627 0.000711
blue 0 0.584354 1 0.000044 0.517717 0.999969 0.001489 0.491056 0.999576
green 0 0.209197 1 0.000488 0.504861 0.999936 0.000501 0.499085 0.999676
orange 0 0.521452 1 0.001235 0.490532 0.998885 0.002449 0.487764 0.998475
purple 0 0.090193 1 0.000266 0.494005 0.999647 0.000364 0.497051 0.999975
red 0 0.303167 1 0.000671 0.492560 0.999882 -0.092709 0.496535 1.072500
yellow 0 0.892427 1 0.001300 0.497129 0.999923 0.000711 0.510627 0.999919
</pre>
</div>
<p/>
Expand All @@ -447,9 +447,9 @@
<pre>
$ mlr --opprint stats1 -a min,mean,max -f flag,u,v -g shape then sort -f shape data/colored-shapes.dkvp
shape flag_min flag_mean flag_max u_min u_mean u_max v_min v_mean v_max
circle 0 0.399846 0 0.000044 0.498555 0.000044 -0.092709 0.495524 -0.092709
square 0 0.396112 0 0.000188 0.499385 0.000188 0.000089 0.496538 0.000089
triangle 0 0.401542 0 0.000881 0.496859 0.000881 0.000717 0.501050 0.000717
circle 0 0.399846 1 0.000044 0.498555 0.999923 -0.092709 0.495524 1.072500
square 0 0.396112 1 0.000188 0.499385 0.999969 0.000089 0.496538 0.999975
triangle 0 0.401542 1 0.000881 0.496859 0.999661 0.000717 0.501050 0.999995
</pre>
</div>
<p/>
Expand Down
7 changes: 4 additions & 3 deletions doc/mlr.1.premade
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
.\" Date: 2015-12-07
.\" Date: 2015-12-09
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2015-12-07" "\ \&" "\ \&"
.TH "MILLER" "1" "2015-12-09" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -38,7 +38,7 @@ on integer-indexed fields: if the natural data structure for the latter is the
array, then Miller's natural data structure is the insertion-ordered hash map.
This encompasses a variety of data formats, including but not limited to the
familiar CSV. (Miller can handle positionally-indexed data as a special
case.) This manpage documents Miller v3.1.1.
case.) This manpage documents Miller v3.1.2.
.SH "EXAMPLES"
.sp

Expand Down Expand Up @@ -209,6 +209,7 @@ Please use "mlr --help-all-functions" or "mlr -f" for help on all functions.
dkvp \en , =
nidx \en space (N/A)
csv \er\en , (N/A)
csvex \er\en , (N/A)
csvlite \en , (N/A)
pprint \en space (N/A)
xtab (N/A) \en space
Expand Down
7 changes: 4 additions & 3 deletions doc/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@
dkvp \n , =
nidx \n space (N/A)
csv \r\n , (N/A)
csvex \r\n , (N/A)
csvlite \n , (N/A)
pprint \n space (N/A)
xtab (N/A) \n space
Expand Down Expand Up @@ -434,7 +435,7 @@
mlr stats1 -a min,mean,max -f flag,u,v -g color then sort -f color

For more information please see http://johnkerl.org/miller/doc and/or
http://github.com/johnkerl/miller. This is Miller version v3.1.1.
http://github.com/johnkerl/miller. This is Miller version v3.1.2.
</pre>
</div>
<p/>
Expand Down Expand Up @@ -2355,15 +2356,15 @@
x_p50 0.501159
x_mean 0.498602
x_p90 0.900794
x_max 0.000045
x_max 0.999953
y_count 10000
y_sum 5062.057445
y_min 0.000088
y_p10 0.102132
y_p50 0.506021
y_mean 0.506206
y_p90 0.905366
y_max 0.000088
y_max 0.999965
</pre>
</div>
<p/>
Expand Down

0 comments on commit b1004a2

Please sign in to comment.