tweet_scores {saotd} | R Documentation |
Score Tidy Twitter Data
Description
Function to Calculate Sentiment Scores that will account for sentiment by hashtag or topic.
Usage
tweet_scores(DataFrameTidy, HT_Topic)
Arguments
DataFrameTidy |
Data Frame of Twitter Data that has been tidy'd. |
HT_Topic |
If using hashtag data select: "hashtag". If using topic data select: "topic" |
Value
A Scored DataFrame.
Examples
## Not run:
library(saotd)
data <- raw_tweets
tidy_data <- Tidy(DataFrame = data)
score_data <- tweet_scores(DataFrameTidy = tidy_data,
HT_Topic = "hashtag")
score_data
## End(Not run)
[Package saotd version 0.3.1 Index]