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

Fix bug in JSON parser #44

Closed
wants to merge 1 commit into from
Closed

Fix bug in JSON parser #44

wants to merge 1 commit into from

Conversation

raheem03
Copy link

@raheem03 raheem03 commented Aug 2, 2018

I don't have an archived version of the old metadata file, but several of the columns called in listCensusMetadata no longer exist (including "datetime" and "validValues"). Took a guess and replaced references to "validValues" with "values" and everything seems to be working, at least for 1- and 5-year ACS.

I didn't mess with anything else (e.g., reference to "datetime" is still there) because I wasn't sure if this would inadvertently affect other APIs (after skimming other APIs, doesn't seem like it would).

Hope this helps!

@hrecht
Copy link
Owner

hrecht commented Aug 5, 2018

Thank you @raheem03 ! It does indeed seem that the Census Bureau changed validValues to values. I fixed this bug in v0.4.1 before seeing this PR, so am closing without merging. But many thanks for the PR.

@hrecht hrecht closed this Aug 5, 2018
@raheem03
Copy link
Author

raheem03 commented Aug 5, 2018

Perfect. And thanks for all your work on this while project!

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

Successfully merging this pull request may close these issues.

2 participants