This section provides some pointers to related resources.
9.5.2 Regular expressions
- See the cheatsheet on Basic Regular Expressions in R (contributed by Ian Kopacka):
The topic of handling text data in R is big enough to receive book-length treatments:
The book Handling Strings with R (by Gaston Sanchez) provides a comprehensive overview of string manipulation in R.
The book Text Mining with R (by Julia Silge and David Robinson) provides a guide to text analysis within a tidy data framework. It uses the tidytext package to format text into tables with one token of text per row and manipulate them to perform advanced tasks.
[09_text.Rmd updated on 2020-02-10 13:43:42 by hn.]
Wickham, H., & Grolemund, G. (2017). R for data science: Import, tidy, transform, visualize, and model data. Retrieved from http://r4ds.had.co.nz