The code for every analysis in this application was taken from the book: “Text Mining with R, A Tidy Approach”. Click on this text to open the free book. I did not write this code, I simply put it in application format so I could use it as a template for other projects.
Scroll down for an example of sentiment analysis on books written by Jane Austen.