ComeçarComece de graça

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.

Este exercício faz parte do curso

Analyzing Social Media Data in R

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Create a data frame of tweet text and retweet count
rtwt <- tweets_ai[,c("___", "___")]
head(rtwt)

# Sort data frame based on descending order of retweet counts
rtwt_sort <- arrange(rtwt, desc(___))
Editar e executar o código