aggregate sentiment score
aggregate_sentiment_score.Rd
Returns an aggregated compound score representing sentiment: -1 (most extreme negative) and +1 (most extreme positive). The compound score is a normalized score calculated by summing the valence scores of each word in the lexicon.
Examples
df = data.frame(text = c("I love cats","I love dogs"))
score = aggregate_sentiment_score(df, "text")