"Blueprint For A Safer Economy" CSV columns have changed incompatibly
since initial development. CSV parsing and data extraction is made
(hopefully) more robust against CSV format changes.
lib/ca-r/app-data.rb
Add get_tier_value so missing tier keys can be checked
lib/ca-r/ca-tier.rb
Add CSV header debugging code and reconstruct CSV header so that it
can be parsed by the CSV library and used to facilitate column data
extraction.
Column data is now extracted by partial matching of header strings.
"Blueprint For A Safer Economy" CSV columns have changed incompatibly since initial development. CSV parsing and data extraction is made (hopefully) more robust against CSV format changes.
lib/ca-r/app-data.rb
Add get_tier_value so missing tier keys can be checked
lib/ca-r/ca-tier.rb
Add CSV header debugging code and reconstruct CSV header so that it can be parsed by the CSV library and used to facilitate column data extraction.
Column data is now extracted by partial matching of header strings.