Closed berkowitze closed 3 years ago
Are American Samoa and Federated States of Micronesia needed here? I don't believe they are in the data we use
Same with Guam, Marshall Islands, etc.
True, got this object from stackoverflow. Figured extra states couldn't hurt 🤷♂️
Happy to remove them.
DC exists in the 50 state code, so its actually useful, but I believe that the state abbreviation are in the JSON data already so we don't need this translation object at all.
@sebsebmc the abbreviations are kind of buried in results.json - I feel like it's not worth parsing all of that just to get the abbreviation. Unless the state names are inconsistent over time/don't exactly match the translation object.
Thanks for the great pull request! Since results.json
includes the state abbreviations that we need, I'd prefer to use that instead of hardcoding the abbreviations in the codebase.
I'd like to close this in favor of #380, which hopefully fixes your issue.
Superceded by #380
Makes sense, cheers!
Motivation
Closes #378
Changes
Before: After:
*.html
,*.csv
,*.xml
and*.json
files.