codeforamerica / naics-api

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

Provide a way for a full year query to be collapsed only to codes that have descriptions #15

Closed louh closed 11 years ago

louh commented 11 years ago

Erasing out "blank" entries and ones that say "See industry description for..."

louh commented 11 years ago

This seems to work now. Add &collapse=1 to query string like so:

http://naics-api.herokuapp.com/v0/q?year=2012&collapse=1

Will add to documentation after we verify that it works as intended.