Journal of Statistical Software (Jul 2022)

stringi: Fast and Portable Character String Processing in R

  • Marek Gagolewski

DOI
https://doi.org/10.18637/jss.v103.i02
Journal volume & issue
Vol. 103
pp. 1 – 59

Abstract

Read online

Effective processing of character strings is required at various stages of data analysis pipelines: from data cleansing and preparation, through information extraction, to report generation. Pattern searching, string collation and sorting, normalization, transliteration, and formatting are ubiquitous in text mining, natural language processing, and bioinformatics. This paper discusses and demonstrates how and why stringi, a mature R package for fast and portable handling of string data based on ICU (International Components for Unicode), should be included in each statistician's or data scientist's repertoire to complement their numerical computing and data wrangling skills.

Keywords