3 ms·
Miller is not new (at least 6 years old is what I can gleam from the Github page). It is somewhat similar to JQ, but specifically for record based formats and
by awild 5y ago
Miller is not new (at least 6 years old is what I can gleam from the Github page).
It is somewhat similar to JQ, but specifically for record based formats and not documents.
The example page [0] has quite a few nice examples.
A recent snippet from my own usage, looking for duplicate ids in a large-ish csv.gz:
mlr uniq -c -g id then filter '$count > 1'
mlr --ijson --ocsv filter '$success' then stats1 -a mean,min,max,stddev -f duration
[0]: https://miller.readthedocs.io/en/latest/data-examples.html https://miller.readthedocs.io/en/latest/data-examples.html