Skip to content
R for the Rest of Us Logo

Resources

This carefully curated collection of resources will help you find packages and learning resources to help you on your R journey.

Screenshot of Space lesson from Data Visualization course

Space lesson from Data Visualization course

This resource is a lesson on using shapefiles for data visualization in R. It covers topics such as shapefile projections and coordinate reference systems, loading and plotting shapefiles, and plotting other data on maps.

Screenshot of Spatial Data Science

Spatial Data Science

The book provides an introduction to spatial data analysis and visualization in R. It covers basic concepts and techniques for working with spatial data, including data import/export, data manipulation, spatial visualization, spatial statistics, and spatial modeling.

Screenshot of Spreadsheet Munging Strategies

Spreadsheet Munging Strategies

This is a work-in-progress book about getting data out of spreadsheets, no matter how peculiar. It is designed for R users who have to extract data from spreadsheets and who are already familiar with the tidyverse. It has a cookbook structure, and can be used as a reference.

Screenshot of Spreadsheet workflows in R

Spreadsheet workflows in R

A resource that focuses on the intersection of spreadsheets and R, providing tips and tricks on best practices for working with both. It covers the R versions of common spreadsheet workflows, such as data wrangling and visualization.

Screenshot of Stacked line chart

Stacked line chart

This post details how to create a polished stacked area chart in R using ggplot2, tidyverse, and additional packages. Geared toward publication, the chart features inline labels, a visually appealing color scheme, and a professional title and footer. It showcases Gilbert Fontana's work and provides a step-by-step guide starting from loading necessary libraries, like ggstream for smooth shapes and showtext for custom fonts, to loading data directly from Excel with readxl. The tutorial explains basic chart creation, smoothing lines, color scaling, custom font usage, and includes the code to produce the chart.

Stacked line chart with inline labels – the R Graph Gallery

This post shows how to build a clean stacked area chart using R, ggplot2 and the tidyverse.

Screenshot of stars

stars

stars is an R package that provides classes and methods for reading, manipulating, plotting, and writing spatiotemporal data cubes. It supports both raster and vector data cubes, as well as regular and irregular grids. The package uses GDAL and PROJ for raster and vector operations, and provides out-of-memory (on-disk) rasters for handling large datasets. The package also includes methods for time series analysis of spatiotemporal data.

Screenshot of Stat545

Stat545

This is the table of contents for the STAT 545 resource, which covers various topics related to R programming.

Screenshot of Stat545: Chapters 18-20: Write your own functions

Stat545: Chapters 18-20: Write your own functions

Chapter 18 Write your own R functions, part 1

Screenshot of statebins

statebins

statebins is an R package that provides an alternative to choropleth maps for the United States. It generates cartogram heatmaps based on the work by the Washington Post graphics department. The package includes functions for creating binned or continuous scales, legends, and different visualizations using state data.

Screenshot of Steve’s Data Tips and Tricks - Creating Population Pyramid Plots in R with ggplot2

Steve’s Data Tips and Tricks - Creating Population Pyramid Plots in R with ggplot2

Learn how to create population pyramid plots in R using ggplot2. This tutorial provides step-by-step instructions and sample code.

Stop making messy line charts and create meaningful plots instead

Stop making messy line charts and create meaningful plots instead