Description Usage Arguments Value Examples
Takes in the output of sentiment_analysis and creates a visualization of user's tweets with sentimental analysis.
1 | visualize_sentiments(sentiment_df, plot_type = "Standard")
|
sentiment_df |
A DataFrame containing sentiment column from sentiment_analysis |
plot_type |
An optional string for which chart to return. Options are ("Standard", "Separate") |
A bar chart containing most common words in tweets, colour coded by sentiment.
1 2 3 | data <- tweetr::brunomars_tweet
sentiment_df <- sentiment_analysis(data)
visualize_sentiments(sentiment_df, plot_type = "Separate")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.