tweet_max_scores: Twitter Data Maximum Scores

View source: R/tweet_max_scores.R

tweet_max_scoresR Documentation

Twitter Data Maximum Scores

Description

Determines the Maximum scores for either the entire dataset or the Maximum scores associated with a hashtag or topic analysis.

Usage

tweet_max_scores(DataFrameTidyScores, HT_Topic, HT_Topic_Selection = NULL)

Arguments

DataFrameTidyScores

DataFrame of Twitter Data that has been tidy'd and scored.

HT_Topic

If using hashtag data select: "hashtag". If using topic data select: "topic".

HT_Topic_Selection

The hashtag or topic to be investigated. NULL will find min across entire data frame.

Value

A Tibble.

Examples

## Not run: 
library(saotd)
data <- raw_tweets
tidy_data <- Tidy(DataFrame = data)
score_data <- tweet_scores(DataFrameTidy = tidy_data,
                           HT_Topic = "hashtag")
min_scores <- tweet_max_scores(DataFrameTidyScores = score_data,
                               HT_Topic = "hashtag")

data <- twitter_data
tidy_data <- Tidy(DataFrame = data)
score_data <- tweet_scores(DataFrameTidy = tidy_data,
                           HT_Topic = "hashtag")
min_scores <- tweet_max_scores(DataFrameTidyScores = score_data,
                               HT_Topic = "hashtag",
                               HT_Topic_Selection = "icecream")

## End(Not run)

saotd documentation built on Sept. 4, 2023, 9:06 a.m.