06 — Text as Data

Text mining, sentiment analysis, and dictionary methods.

Lecturer
Date

March 1, 2026

Word.

This module covers text analysis: preprocessing, tokenization, tf-idf, dictionary methods, and applications including the Economic Policy Uncertainty Index.

Lecture slides

View fullscreen | Source

Code

Check the course repository for the R scripts.

Key packages: quanteda, tidytext, stringr

Further resources