CommencerCommencer 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

Analyzing Social Media Data in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# 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