We're making this a Story Map
- Download QGIS
- Download Data
- What are we doing?
- ZIP Code vs. ZCTA
- Using ZCTAs for Healthcare
- Go to American Fact Finder (US Census)
- In the search criteria, add the area of interest (Texas) and the Geography (5 Digit ZCTA)
- In "Refine Your Search" search box, enter B01001, which is the SEX BY AGE table. Choose the 2013 year, since that's the year of the rest of our data.
- Unlike the S series tables, which list percentages by category, the B tables have raw counts. We need raw counts to get per-capita calculations.
- Click on show table tools (under Table View tab) and click on "Transpose Rows/Columns"
- We want to create a document where each row is a unique ZCTA, the default view is each column is a unique ZCTA, not compatible with QGIS joins.
- Download the table and then cut out the first line
- We want to get rid of the first line because it contains technical descriptions of the fields, while what we want is human-readable details we'll use to join the table later
- Download the 2013 ZCTA shapes, since that's the year of our data
The basic idea is that we want to take the shape files, combine them with BOTH the census data, and aggregated provider data, and calculate population-adjusted values, which we can then use to see the actual trends, not just population centers. We'll use the shape files to create choropleths (thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map), and we'll use the Gazetteer files to create heatmaps, hot spots visualizations of data on a map.
- Create a new project in QGIS (File > New)
- Add our non-geospatial source data to the project, create a "Data" group, and drag our datasets in there
- It makes a lot of sense to filter-out non-Texas data from the NPI Aggregate table, since it's very large and takes a long time to load. You can do this in Excel or numbers.
- Add our geospatial source data to the project, create a "GIS" group and drag the geospatial datasets in there.
- import gazetteer data
- Use the Tract data to select those ZCTAs in Texas
- Enable ZCTA, Gazetteer and Tract layers
- Add our non-GIS datasets to the project, via File > Project Properties > Relations
- Join the datasets to the shapes / centroids
- While the relations added a 1:many linkage between the shapes and the data files, we still need to join the data to the shapes to have it be accessible to us.
- Export our shapes and centroids to ESRI Shapefiles, and upload them to ESRI Story Map to create a story map
- Export ZCTA Centroids into an "ESRI Shapefile" format, and zip up all the files into a single zip.
- Depending on the data, you may have to cut down the number of features you export to 1000, since that's a limitation of the ESRI Story Map product.
- Export ZCTA Shapes into an "ESRI Shapefile" format, and zip up all the files into a single zip.
- Export ZCTA Centroids into an "ESRI Shapefile" format, and zip up all the files into a single zip.
- More data
- More maps
- More statistics
- More stories