For this problem set I worked with:
Load necessary packages:
Use the pres_2016_trail data frame from the fivethiryeight package to plot an interactive leaflet map of all of Hilary Clinton’s 2016 campaign stops. Hint: There are two ways of doing this:
leaflet markers page for hints)sf object (the mapping of latitude and longitude is done automatically)Plot a static map of the 39 counties in Western Washington using the shapefiles in the WA_counties folder. Hint: See the example of reading in shapefiles in the MP3 RStudio Project folder.