powered by
Function to Calculate Sentiment Scores that will account for sentiment by hashtag or topic.
tweet_scores(DataFrameTidy, HT_Topic)
A Scored DataFrame.
Data Frame of Twitter Data that has been tidy'd.
If using hashtag data select: "hashtag". If using topic data select: "topic"
if (FALSE) { library(saotd) data <- raw_tweets tidy_data <- Tidy(DataFrame = data) score_data <- tweet_scores(DataFrameTidy = tidy_data, HT_Topic = "hashtag") score_data }
Run the code above in your browser using DataLab