Answer Key
- What is the difference between a function and an argument?
A function is a procedure that takes an object and applies arguments, or parameters of a function, that subsequently outputs something new.
- What function would we use to gather information about our shapefile’s current projection?
We would use
st_crs
.- When we use
tm_shape(chi_comm)
, what are we doing?We are defining the shapefile to be used in the line of code.
- How do we pull up the attribute table in R?
By using the
View(your_data)
function.- What does your final map look like?
Something like this:
- Bonus question: The challenger question’s final map should look something like this: