sent_summary: Sentiment Summariser

Description Usage Arguments Examples

Description

This function summarises the sentiment calculations and outputs the top scores This can be ordered as positive tweets first or negative tweets first (ascending or descending)

Usage

1
2
sent_summary(sentiment = "positive", df = tweetsDF, n = 3,
  meth = "afinn")

Arguments

sentiment

'positive' or 'negative' currently working

df

dataframe containing the tweets

n

number of tweets to summarise

order.desc

TRUE is default which outputs highest scores i.e. most positive tweets. FALSE outputs the most negative tweets

Examples

1
sent.summary('positive', n = 6)

amycook/hashtag documentation built on May 12, 2019, 2:38 a.m.