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
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...

Next Flipbook
Dates and Times Cheat Sheet
Dates and Times Cheat Sheet

This lubridate cheatsheet covers how to round dates, work with time zones, extract elements of a date or ti...