walkerke / pygris

Use US Census shapefiles in Python (port of the R tigris package)
https://walker-data.com/pygris
MIT License
107 stars 16 forks source link

API key usage tutorials? #6

Closed jGaboardi closed 1 year ago

jGaboardi commented 1 year ago

@walkerke Thanks for all the awesome stuff you do with pygris, tigris, tidycensus, etc.!

One of colleagues (cc @brelsford) is mentoring a PhD student who has been using tidycensus but running into issues with her census API key for several weeks. Are there any intro-level resources to understand API key usage that you can recommend we share with here, particularly for the US census?

cc @ljwolf @knaaptime @jvtcl

walkerke commented 1 year ago

Thanks @jGaboardi! Likewise, I've been promoting your work (spopt in particular) quite a lot recently.

About the API key:

There is a bit more on this in this doc: https://www.census.gov/content/dam/Census/data/developers/api-user-guide/api-guide.pdf (see the section on "Query Limits"). They mention that issues can arise if lots of queries appear to be coming from a shared IP address (e.g. within the same organization), so that might be something to look into.

jGaboardi commented 1 year ago

Awesome! I will pass the info along! Thanks again for taking the time to write this up. I am sure it will be useful for more folks.

brelsford commented 1 year ago

@walkerke thanks very much for the thorough response. This ought to be enough to help my student through these challenges.