Although R is known for its statistical computing and graphical capabilities, it also provides many powerful tools for handling, processing, and analyzing strings and text data. This workshop gives an introduction to handling strings using both Base R and the stringr package, and an introduction to regular expressions in R.
By the end of this workshop you will be able to:
- use common operations and functions to manipulate strings
- learn what regular expressions are and how to use them in R
- apply these concepts to perform text analysis in R
Participants need to bring a laptop with R and RStudio installed, and the latest version of the stringr package. Download R
and install the stringr package by running install.packages("stringr") in R.