Skip to content
No description, website, or topics provided.
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
clean_data
raw_data
.gitignore
Coal_ash_and_race.Rproj
README.md
data_prep.R
viz_analyze.R

README.md

Coal_ash_and_race

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.

You can’t perform that action at this time.