Skip to contents

TextAnalysisR provides text analysis through an interactive Shiny app or R code.

Install

install.packages("remotes")
remotes::install_github("mshin77/TextAnalysisR")

Launch App

Or visit textanalysisr.org for the web version.

Quick Example

library(TextAnalysisR)

# Load data
mydata <- SpecialEduTech

# Combine text columns
united_tbl <- unite_cols(mydata, listed_vars = c("title", "keyword", "abstract"))

# Preprocess
tokens <- prep_texts(united_tbl, text_field = "united_texts")
dfm_object <- quanteda::dfm(tokens)

# Visualize
plot_word_frequency(dfm_object, top_n = 20)

Features

Category Analyses
Lexical Word frequency, keywords, networks
Semantic Similarity, clustering, sentiment
Topic Modeling STM, BERTopic, hybrid

Next Steps