-
Notifications
You must be signed in to change notification settings - Fork 137
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
API returns value of -666666666 #72
Comments
Here are those definitions: |
Exactly what I was looking for, thanks @loganpowell! |
How do you think the library should handle this response @fgregg? I'm happy to give a PR a shot if you can provide guidance. |
I think it would be good to configure the library to do two things based on a user setting.
Not sure what the default should be? Thoughts? |
My reading of the docs is that this value means one of either:
I don't feel confident I understand what's going on with 3), but 1) and 2) both indicate to me that casting to null and raising a warning would be a good default, since null is a common interpretation of "no data". |
casting to null and raising a warning is probably a bit more backwards compatible too |
not sure if the behaviour should be set on initialization of census class or on the get data methods probably on the methods. |
Some calls to
acs5.state_county_tract()
return the value-666666666
. This seems like a semantically significant value, but I can't find documentation on what it means.For a reproducible example, this call returns the value in question:
Any thoughts on what this response means, and how I should handle it? So far I've just been converting them to nulls.
The text was updated successfully, but these errors were encountered: