tweet_box: Twitter Data Box Plot

View source: R/tweet_box.R

tweet_boxR Documentation

Twitter Data Box Plot

Description

Displays the distribution scores of either hashtag or topic Twitter data.

Usage

tweet_box(DataFrameTidyScores, HT_Topic)

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".

Value

A ggplot box plot.

Examples

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

data <- raw_tweets
tidy_data <- Tidy(DataFrame = data)
score_data <- tweet_scores(DataFrameTidy = tidy_data,
                           HT_Topic = "topic")
topic_box <- tweet_box(DataFrameTidyScores = score_data,
                       HT_Topic = "topic") 
topic_box                    

## End(Not run)

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