How to Geocode in Python Using the Census API | Data Tutorial | Python

Publié le: 05 mai 2021
sur la chaîne: Green Numbers
1,965
38

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...


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Geocode in Python Using the Census API | Data Tutorial | Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Green Numbers 05 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,965 fois et il a aimé 38 téléspectateurs. Bon visionnage!