4  Working with Text in R

4.1 Objectives

A deeper dive into how text is represented in R. - character vectors vesus “strings” - factors - base package string handling - the stringi and stringr packages - regular expressions - encoding, briefly.

4.2 Methods

Applicable methods for the objectives listed above.

4.3 Examples

Lots of the above.

4.4 Issues

Additional issues.

4.5 Further Reading

String handling in R. More regular expressions. More on encoding.

4.6 Exercises

Add some here.