codeforamerica / naics-api

Basic API to return NAICS codes and information
BSD 3-Clause "New" or "Revised" License
97 stars 55 forks source link

apostrophes in NAICS data showing up as ’ #11

Closed louh closed 11 years ago

louh commented 11 years ago

See the title for http://naics-api.herokuapp.com/v0/q?year=2012&code=315240

ycombinator commented 11 years ago

This is because smart quotes are being used in those places in the raw data. See https://github.com/louh/naics-api/blob/master/data/naics-2012.json#L410-L413. My suggestion would be to replace the smart quotes with regular quotes when this data is ingested so that all downstream consumers (such as the API) benefit.

louh commented 11 years ago

Thanks. Generally I need to either automate the conversion process better or write down all the steps somewhere...