Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

Data Services Class Descriptions

Information, materials, and schedules for all currently offered Data Services classes
Geospatial Analysis in R covers introductory strategies for viewing geospatial data and performing analysis with R, the open source statistics software.
Software: R, RStudio with the tidyverse, sf, and tmap packages (download instructions)
Duration: 90 min

Room description:

As our global pandemic continues, some tutorials are held remotely and require NYU sign on to access, while others are held in person, without a remote component. Please note the correct modality and location of the tutorial when registering

Skills Taught / Learning Outcomes:
  • Download both tabular data and spatial data (i.e. shapefiles) and import them into R Studio for analysis.
  • Join tabular data to spatial data in R Studio.
  • Visualize spatial data and make choropleth maps in R Studio using the tmap package. 
  • Query and subset the attribute tables of shapefiles based on specified criteria using dplyr (and make derivative spatial objects based on these queries). 
  • Join different shapefiles together based on their relative spatial locations (i.e. carry out a spatial join) using the sf package.
  • Project shapefiles from one coordinate reference system (CRS) to another using the sf package. 
  • Interpret the output of a spatial join, and use it to derive novel information about variables of interest. 
  • Write/export shapefiles from R Studio so that they can be used in other GIS software (such as ArcGIS or QGIS). 
Class Materials:

Tutorial Documentation

Related Classes:
Additional Training Materials:

Upcoming sessions for this tutorial