This is an introduction into text analysis using primarily the TidyText package for R statistical programming language in the RStudio development environment. This workshop will demonstrate how to import texts into the environment, and perform basic analyses for word usage and sentiment analysis. This workshop uses the tidytext package (as well as others) to analyze and visualize written works, such as novels and song lyrics.
-
TidyText Slides.pdf contains the slides used in the workshop.
-
TidyText.Rmd contains the instructions and code chunks used in the workshop.
-
TidyText Instructions.pdf contains the PDF instructions for the workshop.
-
TidyText_Answer_Sheet.pdf contains the answers to the questions included in the workshop.
-
Queen.csv contains the data for the section of the workshop analyzing song lyrics.
- Kaylee Alexander - initial work - kayleealexander
This project is licensed under the MIT License.
This workshop was initially developed for the Rfun workshop series organized by Data & Visualization Services at Duke University Libraries. It was inspired by Julia Silge and David Robinson's Text Mining with R: A Tidy Approach. Visit the GitHub repository for Slige and Robinson's project here.