concept stringr package in category R

appears as: stringr package, The stringr package
Exploring Data with R

This is an excerpt from Manning's book Exploring Data with R.

Text is set of characters, strung together, giving us the term string. Working with strings is something you might do in R over and over again.  Because text may be very unstructured, working with it can be quite challenging. We need to understand the tools available for dealing with strings in base R and in the Tidyverse because strings play a big role in many data cleaning and preparation tasks. We’ll use small and large examples of text in our lessons here. The edr package provides a dataset for this chapter called resto_reviews. It’s not a tibble this time but rather a character vector containing reviews for a restaurant. We’ll occasionally use it to practice with a collection of string-based R functions. Some of these functions will be base R functions and others will come from the stringr package from the Tidyverse.