New Course: Spatial Analysis in R with sf and raster

January 5, 2018
By

(This article was first published on DataCamp Community - r programming, and kindly contributed to R-bloggers)

Hello – We’re happy to also announce the launch of another R course: Spatial Analysis in R with sf and raster by Zev Ross!

There has never been a better time to use R for spatial analysis! The brand new sf package has made working with vector data in R a breeze and the raster package provides a set of powerful and intuitive tools to work gridded data like satellite imagery. Instead of the painful process of performing your spatial analysis in GIS systems like ArcGIS or QGIS and then shuffling your results into another system for analysis you can move your entire spatial analysis workflow into R. In this course you will learn why the sf package is rapidly taking over spatial analysis in R. You will read in spatial data, manipulate vectors using the dplyr package and learn how to work with coordinate reference systems. You’ll also learn how to perform geoprocessing of vectors including buffering, spatial joins, computing intersections, simplifying and measuring distance. With rasters you will aggregate, reclassify, crop, mask and extract. The last chapter of the course is devoted to showing you how to make maps in R with the ggplot2 and tmap packages and performing a fun mini-analysis that brings together all your new skills.

Take me to chapter 1!

Spatial Analysis in R with sf and raster features interactive exercises that combine high-quality video, in-browser coding, and gamification for an engaging learning experience that will make you an expert in spatial analysis in R!

What you’ll learn

1. Vector and Raster Spatial Data in R

An introduction to import/export, learning the formats and getting to know spatial data. Some discussion of why we’re using sf rather than sp.

2. Preparing layers for spatial analysis

In this lesson, you will learn how to prepare layers so that you can conduct spatial analysis. This includes ensuring that the layers all share the same coordinate reference system.

3. Conducting spatial analysis with the sf and raster packages

Now that you have learned about sf and raster objects, and have prepared your layers for analysis, we can begin conducting true spatial analysis. Both sf and raster have a suite of functions that allow you to do single-layer kinds of analysis like buffering and computing hulls as well as multi-layer operations like intersections, overlaps, masking and clipping.

4. Combine your new skills into a mini-analysis

You are now ready to combine your skills into a mini-analysis. The goal is to evaluate whether the average canopy density by NYC neighborhood is correlated with the number of trees by neighborhood and to create a nice plot of the result.

Master spatial analysis in R with this new course!

To leave a comment for the author, please follow the link and comment on their blog: DataCamp Community - r programming.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)