Skip to contents

tmtyro is designed to help beginners work with and analyze text for simple and complex features. Adopting tidytext principles, tmtyro abstracts processes a few levels further to allow tyros apply text mining techniques before they’re deeply familiar with R code.

Installation

You can install the development version of tmtyro from GitHub with:

# install.packages("remotes")
remotes::install_github("jmclawson/tmtyro")

Use

When you’re ready, begin with the introduction, or start using the package right away to load texts from a directory, measure sentiment, and visualize the results:

library(tmtyro)

mysteries <- load_texts("mycorpus")

mysteries <- add_sentiment(mysteries)

visualize(mysteries)