Code and data to reproduce all results from this blog post.
data_prep.R goes through the process of gathering and cleaning data from Earthjustice and the Census Bureau. The results of this code are already stored in the clean_data folder, so you can skip straight to viz_analyze.R if you'd like.
You'll need an API key to gather data from the census. Get one here.
I include state-specific results for 4 states in the blog post. The code in viz_analyze.R will let you create results for any of the 40 states that have coal ash storage sites. Just change the value of
pick_state and run the code below it.