The finalized report here uses data that is scraped from Texas Department of Criminal Justice to analyze the last statements of death row inmates. In order to reproduce the scraped death_row.csv
data, you should, first of all, run the script here.
The report includes the following text analyses techniques:
- Topic Modeling
- Predictive Modeling (i.e., predicting an outcome of interest from text features)
- Sentiment Analyses
You should have following packages installed:
library(tidyverse)
library(tidytext)
library(textrecipes)
library(topicmodels)
library(here)
library(ggwordcloud)
library(textdata)
library(tidymodels)
library(themis)
library(ranger)
library(kableExtra)
library(rvest)
library(glue)