Matt Nourse, June 1 2013
1.8.0 is ready for download now. The key new feature in 1.8.0 is support for
calculating the statistical median in the rel.group
stream operator. For example, given
this test.csv
input file:
string:name,int:value
fred,1
fred,5
betty,10
wilma,1
wilma,2
wilma,3
wilma,4
...this r17 script...
io.file.read('test.csv') | rel.from_csv() | rel.group(median value) | rel.to_csv();
...yields...
betty,10
fred,1
wilma,2
rel.group(median ...)
also works all the other data types, including strings.
As always, please send feedback and bug reports to info@rseventeen.com.