Replication Materials for "A Review of Best Practice Recommendations for Text Analysis in R (and a User-Friendly App)"
Part | Text Analysis using Topic Modeling in R |
---|---|
1 | Data Cleaning & Exploration / HTML |
2 | Topic Modeling with no covariates / HTML |
3 | Topic Modeling with covariates / HTML |
Additionally, you can go to the GitHub for topicApp for instructions on how to use the Shiny app instead. We've also created a list of Topic Modeling references pdf, which is a short list of about 40 papers/tutorials to aid in future research. By no means is this list exhaustive -- please email me (rwesslen@uncc.edu) if there are any suggestions to add to this list.
In addition to this archive, all of these materials have also been archived into a Dataverse repository. The materials are identical to the materials provided in this GitHub repository.
These materials assumes you have basic knowledge of how to :
- Set your working directory
- Install R packages via CRAN
- Handle R dataframes with
tidyverse
packages likeggplot
,dplyr
, andreadr
rmarkdown
knowledgequanteda
knowledge
You will need R and RStudio installed on your laptop.
Also, please install these packages by running this code:
packages <- c("tidyverse","stm","quanteda","RColorBrewer","wordcloud")
install.packages(packages)
To download the materials, please click the "Clone or Download" button in the top right of this page. Then save the materials as a zip file onto your computer (e.g., Desktop).