Training Course Details

Text Mining in R

Text Mining in R

Course Level: Intermediate

Want to learn how to get the most out of text data? Today, a lot of data produced contains unstructured text, which can be difficult to transform and analyse without the correct knowledge and tools. In this course you will learn the basics of manipulating and transforming text data as well as how to extract meaning and sentiment in R, using packages such as {stringr} and {tidytext}.

No Events Currently Scheduled

Sorry, there are no upcoming events for this course, but please get in touch if you would like to be kept informed when events are scheduled in the future.

View our full training course calendar »

Course Details

  • Course Outline
  • Learning Outcomes
  • Materials
  • Prior Knowledge

Course Outline

  • Appreciating the benefits of text data
  • Cleaning and extracting text with {stringr} and regular expressions
  • Transforming and mining text with {tidytext}
  • Analysing the sentiment of text
  • Understanding the content of a text with TF-IDF

Learning Outcomes

By the end of the course, participants will be able to…

  • clean, manipulate, and transform text data with {stringr}
  • use basic regular expressions to extract and remove patterns in text
  • convert unstructured text data into a tidy format suitable for analysis with {tidytext}
  • understand basic text mining concepts, such as tokenization, stop words, n-grams, lemmatization and more
  • create beautiful plots of text data
  • analyse the sentiment of a piece of text and compare sentiment across texts and over time
  • extract representative words of a text to classify its content


Prior Knowledge

This course assumes basic familiarity with R and the {tidyverse}. We recommend first attending our Introduction to R and our Data Wrangling in the Tidyverse courses if you want to get up to speed for this course!

Attendee Feedback