Character String Manipulation: Regular Expressions and the R Package stringr

Jan 14, 2019, 9:30 am11:45 am


Event Description

This workshop introduces character string manipulation in R. String data is often unstructured, and regular expressions provide a concise mechanism to describe text patterns that may be contained within string data. It may take a little while to get accustomed to using regular expressions, but they are extremely useful. Stringr is an R package for string manipulation. It includes all of the common string operations one might need, including pattern matching. Although stringr is not part of the tidyverse core, it is built with similar goals in mind – consistency, simplicity and producing output that can easily be used as input.

Data file 1
Data file 2