Attributing the Smoke Dataset
Follow the steps in Lesson 9.
Use the
tigris::states
andtigris::counties
functions to download geometries for the state boundaries and county boundaries for ID, WA, and OR. (see?tigris::counties
and?tigris::states
to see how to do this)Summarize the points and the other variables at the county and state level (i.e., combine all of the points in a county/state and recalculate the pm2.5 values, run
zonal
on the counties etc)Generate a plot for the new scales of aggregtion and compare the point values to those that come from the new aggregation.