I’ve made the following county-level graphs of fatal police shooting rates by race using data from the Census and compiled from the data I’ve now made available on figshare:
Bradford, John Hamilton (2017): Fatal Police Shootings (2013-2016) & County Level Data. figshare.
Below is the graph. I. Loading Data 1. A function to retrieve state abbreviations getState.abb <- function(x){ ##remove punctuation and twim white space, convert to lower case x <- tolower(trimws(gsub("[[:punct:]]", "", x))) x[which(x == "washington dc")] <- "district of columbia" states.