class: center, middle, inverse, title-slide # Brief Summary: Mapping Learning Reflections ## SDS 192: Introduction to Data Science ###
Shiya Cao
Statistical & Data Sciences
, Smith College
###
Fall 2024
--- # `sf` objects * "we need sf objects in order to plot maps" * "How to convert data into sf objects" * "use st_as_sf() to convert data frame to sf (geographical) form" * "Spacial data is stored in sf objects which allows us to match them up to the map projection we are using!" * "I learned that a shapefile is a file for storing spatial data." * "how to import shapefiles into R" * "Working with shapefiles and switching between data formats" * "sf object has a geometry column" --- # Projections * "most maps use coordinate reference system 4326" --- # Coordinate Reference Systems * "how to locate longitude and latitude coordinates of a destination" * "geocode_OSM(“city name, state/country name”) can be run in console to get coords" * "how to set/change a CRS" * "X is always longitude and Y is latitude" * "I also think it's cool how you can add location information to the map." --- # Static Maps * "we can layer maps on top of each other using ggplot (static)" * "creating ...static maps * "I learned that we can create many different kinds of maps (e.g. static, interactive, choropleth, etc)." --- # Interactive Maps * "Leaflet() is used to create interactive maps" * "how to make interactive maps in leaflet" --- # Choropleth Maps * "You can do so many different and cool things with colors, especially on chloropleth maps where you can choose to make the fill continuous, quantiles, or binned." * "I have learned three approaches creating choropleth maps" * "choropleth maps require careful data aggregation and geographic units" * "How to create choropleth maps using different palette techniques (and how these different palettes can drastically change the look of the map)" * "I learned that different palettes result in very different maps, so it's important to know your data and which kind of palette you should use (numeric, bin, quantile)." * "Color is an effective way to show different quantities but can be used to skew viewers' perceptions" --- # Mapping in General * "I saw how everything we've learned so far is incorporated into mapping. We need to know basic data visualization as well as data wrangling to make our maps work." * "we learned how to combine both the skill of data wrangling and visualization together." * "I learned that you can create a map using R ( I didn't know that)." * "I learned that I can use pluck() to extract specific elements from packages."