Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change in tiger2016 in endpoints to tiger2017 in documentation #75

Open
danrademacher opened this issue Jan 8, 2019 · 4 comments
Open

Comments

@danrademacher
Copy link

We noticed that the examples that use tiger2016 in the README, as here https://github.com/censusreporter/census-api/blob/7529031043269585eb0ad0d8f34ea62082588c61/API.md#geography

Are now producing an "Unknown TIGER release" error:
image

That's here: https://api.censusreporter.org/1.0/geo/tiger2016/04000US55

But this does work:
https://api.censusreporter.org/1.0/geo/tiger2017/04000US55

image

I see these changes came in this commit late last year, aaef5a5.

Maybe just a matter of updating the docs then.

Would we expect the endpoints to change again in the future?

@iandees
Copy link
Member

iandees commented Jan 8, 2019

Unfortunately we don't have the funding to support historical data releases in the public API. This means the API endpoints for older releases won't work. I can update the docs to give examples of URLs that work, but yea for now you should expect that they might disappear in a year or two to make way for the next TIGER release.

@danrademacher
Copy link
Author

Interesting. The end point is easy to change in our code, so we can just update it when things break in future. I suppose another approach would be to pull the TIGER version out of the endpoint UTL and make it an attribute in the response, so you still know what version you're getting and if it has changed, but endpoints don't break.

Probably file that under "nice idea, find the funding."

Thanks for a great API!

@iandees
Copy link
Member

iandees commented Jan 8, 2019

On the ACS data endpoints we have a "fake release" called "latest" that looks for the most recent data that contains the geoid you're asking for. Perhaps we could add a "latest" for TIGER as well, so that URLs and API calls would still work.

@danrademacher
Copy link
Author

That would certainly meet our needs, which are presently just getting accurate metro area boundaries for a range of places

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants