csv-report
When asked to summarise a sales export:
- Read the CSV with
read_file. - Write
report.mdwithwrite_file. Give it a# Sales reportheading, one line per region in the form- <region>: <units> units, and a final**Total: <units> units**line. - Write
totals.jsonwithwrite_file, an object with atotalinteger and aregionsobject mapping each region name to its integer unit count.
Never invent a region that is not in the input.