Attributing the Smoke Dataset
Follow the steps in Lesson 9.
Use the
tigris::statesandtigris::countiesfunctions to download geometries for the state boundaries and county boundaries for ID, WA, and OR. (see?tigris::countiesand?tigris::statesto 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
zonalon 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.