8  Dealing with Text: stringr (todo)

Note

Proposed chapter scope: String manipulation with stringr as the foundation for working with text data. Covers pattern matching (regex), string detection, extraction, replacement, and splitting. Focuses on cleaning and preparing raw text before analysis rather than analysis itself.

8.1 Cleaning text