Open JGreenlee opened 3 months ago
The first link does have a Combined Statistical Areas
section whose name is "San Jose-San Francisco-Oakland, CA CSA"
. But there does not appear to be any overlap between the numeric values in "Combined Statistical Areas" and "Urban Areas"
Testing the new calculations on some real data today and found a peculiar situation where the UACE code lookup failed: a
train
trip that began near ferry station in San FranciscoChecking the URL manually does show that there is no information for "Urban Areas" given https://geocoding.geo.census.gov/geocoder/geographies/coordinates?x=-122.39373566036205&y=37.79639539828247&benchmark=Public_AR_Current&vintage=Census2020_Current&layers=87&format=json
A few meters inland and there would have been no problem: https://geocoding.geo.census.gov/geocoder/geographies/coordinates?x=-122.394&y=37.79639539828247&benchmark=Public_AR_Current&vintage=Census2020_Current&layers=87&format=json
I believe this can happen for eGRID as well because the shapefiles only cover land. Beaches, bridges over lakes/bays, or potentially anywhere on a coast may be unreliable. I think we can reduce the likelihood of this happening by attempting both the start and end locations of the trip.