I'm working in Python with ACS data downloaded from here: https://www.census.gov/geo/maps-data/data/tiger-data.html
I was able to convert the geodatabase format to a pandas dataframe where every row is a GeoID representing a census tract.
I can't figure out how to understand the GeoID and to connect it to latitude/longitude. My end goal is to build a function that takes in a lat/lon and returns what census tract it is in.
For example, this library: https://pypi.org/project/censusgeocode/ will take a lat/lon and return the census tract information. But it returns (as an example):
'GEOID': '42079216600'
whereas the TIGER/Line data I downloaded has the GeoID in a different format:
GEOID: '15000US170010001001'
Can someone help me understand how to interpret these GeoID's so I can join on them? I've looked here: https://www.census.gov/geo/reference/geoidentifiers.html but it doesn't explain down to the census tract level.