Closed m3brown closed 9 years ago
@m3brown in your comment "backup the original end file and apply new records" where does it back up the file too? Does this command just modify the existing msamd.csv file with the new year?
It backs up the file to filename.timestamp. It deletes and records that exist for the year you specified, appends the new records to the bottom, then sorts the file to integrate the new year into the original formatting. I can improved the documentation for this.
@m3brown you've resolved all my questions, approved!
2013 records have been added to the msasm.csv file, and the file was re-sorted using the following command:
Also included is a script to ingest data from a CSV or XLSX in the correct format for the msamd.csv file. For example, to add 2014 records:
TODO: The script does not handle a couple edge cases with upper/lowercasing:
Fond du Lac
would beFond Du Lac