miller/docs/data/previous-to-current.sh
2020-09-27 11:29:50 -04: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