Actually Evaluating Interventions

Sentiment Analysis

Materials

The following download contains files that are provided to help you to understand and/or complete the walkthrough

Prepping

  1. Open Text-Mining-with-R-CH1&2-install.R and run the syntax to install the packages you will need for this task. If you are asked to update any packages, please select 1: All. If further requests come up to install additional components or files, please select Yes1

  2. Open Text-Mining-with-R-CH1&2-script.R and run everything in it before starting. Use this script to copy and paste code from the chapters outlined below

Tidy Text Mining

Follow the chapters

  1. The tidy text format
  2. Sentiment analysis with tidy data

in Text Mining with R: A Tidy Approach by copying, pasting, and running the syntax in Text-Mining-with-R-CH1&2-script.R within RStudio. Please pay close attention to what is occurring and how the text data is being interpreted. We’re going to have a work next week so please bring your laptops!


  1. Should you have any issues with the installation, please reach out as soon as possible ↩︎