A sample of one of the data sets used while creating and testing the package. Data was obtained by trawling Twitter for all tweets related to the Wales vs Belgium game. Sentiment and Emotion data was generated by the NRC Sentiment Annotator. Finally, tweets were bucketed in 5 second buckets to smooth the data a little.
The format is: num [1:2040, 1:3] 0.222 0.217 0.214 0.23 0.252 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr [1:3] "neg" "neu" "pos"
WalBelSentiment: a matrix of sentiment values, obtained from the NRC Sentiment Annotator. Each row is one 5 second bucket of tweets, and each column is one of Negative, Neutral or Positive sentiment. The values in each row sum to 1.
WalBelEmotions: a matrix of emotion values, obtained from the NRC Sentiment Annotator. Each row is one 5 second bucket of tweets, and each column is one of Anger, Fear, Dislike, Sadness, Surprise, or Joy. Values do not sum to 1 and are independent of each other.
WalBelTimes: a vector of times corresponding to the buckets in the Sentiment and Emotions Matrices above. Included for pretty-printing the x-axis in the onlineCPD or offlineCPD plot.
NRC Sentiment Annotator
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.