View source: R/twitter_analysis.R
Plot Data for Progress specified tweet graphs.
1 2 | issue_bargraph(tweet_database, issue_terms, scale_by_total = FALSE,
save_local = 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. |
save_local |
Save the graph to your working directory. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.