Slides

Code for Hands-on Workshop – Fall 2018

Overview

These learning and quick-reference resource pages support the face-to-face workshop, Mapping with R, offered via the Data & Visualization Services Department, Duke University Libraries. The exercises and workshop are designed to help you learn georeferencing, make a choropleth with USA census data via the tidycensus package, and briefly introducing the [sf] ](http://r-spatial.github.io/sf/) package, simple features.

During the Workshop we introduce

Workshop Resource Page

  1. Georeferencing, Plotting XY latitude & longitude: with interactive leaflet maps, with static ggplot maps

  2. Choropleths with tidycensus

  3. Thematic Mapping with tmap, geom_sf, tigris, and viridis. Plus, saving map images and files.

Hands-on Exercises

Supporting Materials

 

KXCD. 2016 Election Map: https://xkcd.com/1939/


 
R We Having Fun Yet‽ -- Learning Series
Data & Visualization Services
Duke University Libraries
C bn
Shareable via Creative Commons: CC By-NC