I added cg = censusgeocode.CensusGeocode()
to my code, but it's still not working. When I try to get the census tract with census_tract = cg.coordinates(x=newLoc.latitude, y=newLoc.longitude)
, it doesn't work as expected. I used newLoc
to get the coordinates from the address. Can you help me figure out whats wrong?