Strings and regular expressions
Readings
- Read chapter 14: Strings of R for Data Science (2e)
- Read chapter 15: Regular expressions of R for Data Science (2e)
Guiding questions
- What are strings?
- How can you extract and subset information from strings?
- What are regular expressions?
- What is a pattern?
Slides
The slides for today’s lesson are available online as an HTML file. Use the buttons below to open the slides either as an interactive website or as a static PDF (for printing or storing for later).
View all slides in new window Download PDF of all slides
Fun fact: If you type ? (or shift + /) while going through the slides, you can see a list of special slide-specific commands.