Тёмный

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

Green Numbers
Подписаться 328
Просмотров 1,9 тыс.
50% 1

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.
github.com/greennumbers/python
www2.census.gov/geo/pdfs/maps...
www.census.gov/programs-surve...
geocoding.geo.census.gov/geoc...
geocoding.geo.census.gov/geoc...

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@nathanthreeleaf4534
@nathanthreeleaf4534 2 года назад
The census batch geocoding API seems to be painfully slow on my end. Is that what you find as well? At the moment, I'm trying to geocode in groups of maybe 700 and it has already taken more than 5 min and I have yet to get a response. I've used the censusgeocode package as well, and that also takes so long that it is un-usable, in my opinion. Any suggestions as to how it could be sped up?
@yongyanyue7165
@yongyanyue7165 Месяц назад
Hi there! I'm facing a similar issue, have you found any better ways to do such conversions? Thanks!
@nathanthreeleaf4534
@nathanthreeleaf4534 Месяц назад
@@yongyanyue7165 I switched to geocoding through the ArcGis API and that was considerably faster. It does cost $ but if you setup the right kind of account and only geocode what is necessary, then it's pretty cost effective.
Далее
Python Geocoding - Address to Latitude & Longitude
14:31
IQ Level: 10000
00:10
Просмотров 1,6 млн
Example Geocoding Addresses with Pandas and Geopy
15:14
Demystifying the Census API
1:05:23
Просмотров 4,5 тыс.
How to Get Zillow FSBO Properties with Python 2023
19:39
lab11 Download #Census Data into #Python
22:39
Просмотров 1,4 тыс.
How to learn geospatial Python FAST with ChatGPT?
13:48
IQ Level: 10000
00:10
Просмотров 1,6 млн