Resulting analysis can be found here: https://svitkin.rbind.io/2020/05/on-new-jerseys-opioid-problem/.
When generating data used in analysis.R
and visualizations.R
, first run:
cache-data.R
scrape-and-process-nj-hospital-visits.R
(be aware, this uses the curl command in dynamically created shell scripts to scrape the relevant data)process-census-data.R
And then run combine-and-process-final-data.R
.