backlit_keyboard

R for Text Analysis

This page contains resources from Leah Henrickson's introduction to R for text analysis including links to sample texts and the workshop slides.

Overview

Over two sessions in late may and early June, Leah Henrickson of Leeds University offered an introduction to R for text analysis.

During the first session she offered an overview of R and R Studio before showing participants how to prepare texts for analysis. This included removing numbers, capital letters and excessive white spaces.

The second part saw a quick recap of these functions before showing participants how to visualise the date, for example counting the frequency of words. The final practical exercises saw participants plot the data on bar charts and as word clouds.

You can use the Powerpoint slides, below, to learn how to perform these tasks, whilst the specific texts used in the workshops can be downloaded from: tinyurl.com/n8texts

Slides

  R for Text Analysis

If you would prefer to view the slides online you can do so at: tinyurl.com/n8textslides

Video

Understanding R and RStudio

Preparing Your Corpus and Making Plots

Alternatively, you can follow these links:

Understanding R and RStudio - https://youtu.be/46pLdXxcLpw
Preparing Your Corpus and Making Plots - https://youtu.be/b47w16rrPEY

Return to article index