Add `apstate` function
rdmurphy opened this issue · 0 comments
rdmurphy commented
Per a suggestion on Twitter — there are some conversions that would make sense to be added via wireservice's lookup
. The most obvious one is an AP style state abbreviation conversion.
Main questions to answer:
- Does this actually depend on that repo? Or do we grab a copy to use here?
- We need JSON.
lookup
doesn't provide JSON. While there are ways to read CSV in JS, I'd rather not add that to the library. Either we politely asklookup
to add JSON versions of the data files 😄, or we do the conversion on our end.