View source: R/twitter_analysis.R
Pivot the Twitter data.
1 | pivot_twitter_data(tweet_database, issue_terms, scale_by_total = FALSE)
|
tweet_database |
Tweet database. Must have the columns "last_name", "party", "state" and "tweet". |
issue_terms |
Search term or terms. Takes input as a vector. |
scale_by_total |
Scale your graph by all tweets by the Senator. Defaults to FALSE, which outputs tweet counts. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.