9.5 Resources

This section provides some pointers to related resources.

9.5.1 Strings

Text and string manipulation with **stringr** and regular expressions<br>from [R&nbsp;Studio Cheat Sheets](https://www.rstudio.com/resources/cheatsheets/).

Figure 9.3: Text and string manipulation with stringr and regular expressions
from R Studio Cheat Sheets.

9.5.2 Regular expressions

Basic regular expressions in R (by Ian Kopacka)<br> available at [R&nbsp;Studio Cheat Sheets](https://www.rstudio.com/resources/cheatsheets/).

Figure 9.4: Basic regular expressions in R (by Ian Kopacka)
available at R Studio Cheat Sheets.

9.5.3 Books

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-03-24 22:29:55 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