View source: R/facebook_heartbeat.R
facebook_heartbeat | R Documentation |
Facebook: Heartbeat Creator
facebook_heartbeat(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 a "heartbeat" chart is created. The chart spans the entire length of the conversation that is present in your messenger data.
Sentiment image showing valence of message.
library(facebookanalysis)
## Not run: facebook_heartbeat(folder = data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.