Summary of topics, key commands, and packages.
After working through this chapter, you are able to:
- understand that text consists of strings,
- combine and dissect strings of text,
- use regular expressions,
- use stringr commands to find and replace text strings.
For an overview of text and string manipulation with stringr and regular expressions, take a look at the R Studio Cheat Sheet to check which commands you are now familiar with and which others you can still discover in the future:
For more information on manipulating strings of text, see the contributed cheatsheets on Basic Regular Expressions in R.
Let’s test our knowledge and skills on manipulating text and strings by completing the following exercises.