Changes

Jump to navigation Jump to search
410 bytes added ,  17:33, 22 September 2017
=== Bulk Download TIGER Shapefiles ===
For example, say we want all of the state-level place data. The first step is to find a programmatic URL that we can use. You can inspect the HTML on the HTML interface to place data to get the correct mapping of states/territories to two digit integer. Note that they are not necessarily sequential and there is not strictly fifty.
<nowiki>
# TODO!/bin/bash# ftpfor i in $(seq -f "%02g" 1 80); do wget "https://ftp2www2.census.gov/geo/tiger/TIGER2016/PLACE/tl_2016_${i}_place.zip"; sleep 3 # not necessary but a good guy scraper movedone;</nowiki>
Also say we want to separate New York City, New York into a more granular by-borough set of polygons. Using [https://geo.nyu.edu/catalog/nyu_2451_34505 City University of New York data], we will import this shapefile.

Navigation menu