View source: R/facebook_report.R
facebook_report | R Documentation |
Facebook: Report Generator
facebook_report(folder)
facebook_report(folder)
folder |
filepath to data |
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.
A report that contains the emotions present in the facebook messages sent between participants. Max of 2 participants.
library(facebookanalysis)
## Not run: facebook_report(folder = 'messages')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.