Skip to contents

Facebook: Report Generator

Usage

facebook_report(folder)

facebook_report(folder)

Arguments

folder

filepath to data

Value

A report that contains the emotions present in the facebook messages sent between participants. Max of 2 participants.

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) facebook_report(folder = 'messages')