countyadjacency 0.1.3
This package provides adjacency information for US counties (or their equivalent). This data is derived
from the US Census website.
Example
from county_adjacency import get_neighboring_areas, CountyNotFoundError, supported_areas
try:
print(get_neighboring_areas("San Francisco County, CA"))
except CountyNotFoundError as error:
print(error)
('Contra Costa County, CA', 'Marin County, CA', 'San Mateo County, CA')
supported_areas()
('Autauga County, AL', 'Baldwin County, AL', ... , 'St. John Island, VI', 'St. Thomas Island, VI')
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.