Facebook: Sentiment Calculator
Details
This function pulls the data from your messages folder created by the facebook_message_pull function. The sentiment of the data is then calculated and written to a pdf file which has bar charts and a sentiment table. The sentiments the data pulls are: surprise, disgust, sadness, anticipation, joy, fear, anger, and trust. The data also pulls the positive and negative percentage of the messages as well.
Examples
library(facebookanalysis)
if (FALSE) clean_text(text)