Instantly share code, notes, and snippets.
Hi- How can I get via python?
Here's an equivalent in Python:
url = "https://www2.census.gov/geo/tiger/GENZ2018/shp/cb_2018_us_state_20m.zip"
r = requests.get(url, stream=True)
z = zipfile.ZipFile(io.BytesIO(r.content))
Thank you for your response!
What if I don't save the zip code? I want to call the geo and then after preparing some queries, save a new database which includes geometry (longitude/latitude).