censusreporter / census-api

The home for the API that powers the Census Reporter project.
MIT License
166 stars 50 forks source link

don't return Louisville (160) as a parent geography because it isn't … #65

Closed JoeGermuska closed 6 years ago

JoeGermuska commented 6 years ago

Related to #24 -- the absence of Louisville (160) generated 500 errors in the main application when census tracts or other child geographies were pulled. I used the special_case_parents method to just pull it out in those cases.

It's a hack, yes.