Exercise

Retweet counts

A retweet helps utilize existing content to build a following for your brand.

The number of times a twitter text is retweeted indicates what is trending. The inputs gathered can be leveraged by promoting your brand using the popular retweets.

In this exercise, you will identify tweets on "Artificial Intelligence" that have been retweeted the most.

Tweets on "Artificial Intelligence", extracted using search_tweets(), have been saved as tweets_ai.

The rtweet and dplyr libraries and the dataset tweets_ai have been pre-loaded.

Instructions 1/2

undefined XP
    1
    2
  • Create a data frame of tweet texts and their retweet counts.
  • Sort the data frame based on retweet counts.