-
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
Unhashable type dict #112
Comments
hi @anthonymoser, can't reproduce. from census import Census
from us import states
c = Census("YOUR_API_KEY")
foo = c.acs5.get(('NAME', 'B25034_010E'),
{'for': 'state:{}'.format(states.MD.fips)})
test = c.acs5.state(('NAME', 'B25034_010E'), states.MD.fips)
test = c.acs5.state(('NAME', 'B25034_010E'), states.MD.fips, year=2010)
print(test) this complete code example (with a correct API key) works for me. will it run for you? |
Hi, @anthonymoser – were you using the core Census client, or the extended Census client from the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to use any of the demos from the census package or the ward walkthrough, for example
test = c.acs5.state(('NAME', 'B25034_010E'), states.MD.fips, year=2010)
I get
TypeError: unhashable type: 'dict'
coming from this line:
return super(ACSClient, self).get(*args, **kwargs)
census/census/core.py
Line 313 in dd4f171
I tried to test to see if it was my VPN causing problems, or my python version, etc. But the issue has remained. Could be something weird about my environment? But if so I don't know what. Thought I should flag in case something changed about the data structure returned by the census api. I was able to get some block level responses, but not tract.
The text was updated successfully, but these errors were encountered: