CommencerCommencez gratuitement

Visualizing frequency of tweets

Visualizing the frequency of tweets over time helps understand the interest level over a product.

Walmart operates a chain of supermarkets and stores around the world. It would be interesting to check the interest level and recall for the brand Walmart by visualizing the frequency of tweets.

In this exercise, you will extract tweets on "#walmart" and create a time series plot for visualizing the interest levels.

The library rtweet has been pre-loaded.

Cet exercice fait partie du cours

<cours>Analyzing Social Media Data in R</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Extract tweets on #walmart and exclude retweets
walmart_twts <- ___("#walmart", n = 18000, include_rts = ___)

# View the output
head(walmart_twts)
Modifier et exécuter le code