bar_plot_mentions | R Documentation |
This function creates a barplot of mentioned screen_names (default top 20) in an rtweet tibble of tweets
bar_plot_mentions(rtweet_df, no_of_bars = 20, title = NULL)
rtweet_df |
A dataframe/tibble of tweets created by rtweet package through twitter API call. |
no_of_bars |
The number of bars in the plot. Default is 20. |
title |
The title of the barplot in quotation marks. Default of NULL returns the name of the rtweet tibble and the number of bars. |
df <- rtweet::get_timelines("jack", n=3200) bar_plot_mentions(df, no_of_bars = 25, title = "Jack's Mentions")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.