In this Green Numbers data tutorial I show you how to use the census API to geocode a list of street addresses and read the returned values in a pandas dataframe.
The Census Bureau provides a API that allows you submit a list of street addresses and receive geocoded values in return. Those values include the latitude, longitude, state FIPS code, county FIPS code, census tract, and census block.
There’s a lot of documentation that describes the format of the address file you need to submit, instructions for submission such as selecting the time period when the address range was captured, and the format of the file you receive in return. You can find links to this information in this video’s description.
In this video I’m going to show you:
-what the street address file should look like,
-how to use the API in python to submit the file,
-and how to read the returned data into a pandas dataframe.
https://github.com/greennumbers/python
https://www2.census.gov/geo/pdfs/maps...
https://www.census.gov/programs-surve...
https://geocoding.geo.census.gov/geoc...
https://geocoding.geo.census.gov/geoc...
On this page of the site you can watch the video online How to Geocode in Python Using the Census API | Data Tutorial | Python with a duration of hours minute second in good quality, which was uploaded by the user Green Numbers 05 May 2021, share the link with friends and acquaintances, this video has already been watched 1,965 times on youtube and it was liked by 38 viewers. Enjoy your viewing!