A Narrow Practice
Steps to reproduce this data
FIPS County Codes
Here is the format you'll get:
- State ANSI
- County ANSI
- County Name
- ANSI Cl
Note that for field 5:
FIPS Class Codes H1: identifies an active county or statistically equivalent entity that does not qualify under subclass C7 or H6. H4: identifies a legally defined inactive or nonfunctioning county or statistically equivalent entity that does not qualify under subclass H6. H5: identifies census areas in Alaska, a statistical county equivalent entity. H6: identifies a county or statistically equivalent entity that is areally coextensive or governmentally consolidated with an incorporated place, part of an incorporated place, or a consolidated city. C7: identifies an incorporated place that is an independent city; that is, it also serves as a county equivalent because it is not part of any county, and a minor civil division (MCD) equivalent because it is not part of any MCD.
Note, also, that the "County Name" field includes, unfortunately, a trailing "county", meaning that in order to compare it to county names, you may need to scrub the name and do some processing.
You'll also need the us-10m.json map, graciously provided by Mike Bostock in his US Atlas project, here.
You'll also need a csv file with the Death Penalty Information Center's dataset on modern executions, here.
npm install shelljs
- then run
- that's really it.
Note that you'll need topojson and mapshaper installed. They're both found in NPM.
Check out the commented scripts included here to see how we did this.