miller/doc/data/previous-to-current.sh
2017-04-25 12:08:16 -07:00

5 lines
189 B
Bash

mlr --icsv --opprint \
join -j color --ul --ur -f data/prevtemp.csv \
then unsparsify --fill-with 0 \
then put '$count_delta = $current_count - $previous_count' \
data/currtemp.csv