Work with Strings Cheat Sheet

May 31, 2019

The stringr package provides an easy to use toolkit for working with strings, i.e. character data, in R. This cheatsheet guides you through stringr’s functions for manipulating strings. The back page provides a concise reference to regular expresssions, a mini-language for describing, finding, and matching patterns in strings. Updated 10/17.

Previous Flipbook
Factors with forcats Cheat Sheet
Factors with forcats Cheat Sheet

This cheatsheet reminds you how to make factors, reorder their levels, recode their values, and more.

Next Flipbook
Apply Functions Cheat Sheet
Apply Functions Cheat Sheet

This cheatsheet will remind you how to manipulate lists with purrr as well as how to apply functions iterat...