Skip to content

slu-dss/gis-04

gis-04

Lesson Overview

This repository contains the third lesson for our series on GIS work in R. We'll focus on geoprocessing, which is a set of techniques for (a) modifying the geometric data we are working with or (b) using our geometric data as a starting point for modifying our attributes.

Objectives

At the end of this lesson, participants should be able to:

  1. Perform common geoprocessing techniques in R, including identifying centroids, intersecting and clipping features, and dissolving features

Lesson Resources

  • The notebook/ directory contains the materials for this lesson.

Extra Resources

Lesson Quick Start

Install Software

If you participated in the first session, there is no new software for today. However, the packages we'll need for today can be installed if you have not already done so using:

install.packages(c("tidyverse", "here", "knitr",
                   "nngeo", "mapview", "rmarkdown", 
                   "sf", "tigris", "usethis"))

Access Lesson

You can download this lesson to your Desktop easily using usethis:

usethis::use_course("https://github.com/slu-dss/gis-04/archive/master.zip")

By using usethis::use_course, all of the lesson materials will be downloaded to your computer, automatically extracted, and saved to your desktop. You can then open the .Rproj file to get started.

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About the SLU DSS

Mapping in R

This seminar series introduces the basics of working with spatial data in R, including data wrangling and basic map production.

About the SLU Data Science Seminar

The SLU Data Science Seminar (DSS) is a collaborative, interdisciplinary group at Saint Louis University focused on building researchers’ data science skills using open source software. We currently host seminars focused on the programming language R. The SLU DSS is co-organized by Christina Gacia, Ph.D., Kelly Lovejoy, Ph.D., and Christopher Prener, Ph.D.. You can keep up with us here on GitHub, on our website, and on Twitter.

About Saint Louis University

Founded in 1818, Saint Louis University is one of the nation’s oldest and most prestigious Catholic institutions. Rooted in Jesuit values and its pioneering history as the first university west of the Mississippi River, SLU offers nearly 13,000 students a rigorous, transformative education of the whole person. At the core of the University’s diverse community of scholars is SLU’s service-focused mission, which challenges and prepares students to make the world a better, more just place.