CommencerCommencer gratuitement

Trends by city and most tweeted trends

It is meaningful to extract trends around a specific region to focus on twitter audience in that region.

Trending topics in a city provide a chance to promote region-specific events or products.

In this exercise, you will extract topics that are trending in London and also look at the most tweeted trends. The libraries rtweet and dplyr have been pre-loaded for you.

Note: tweet_volume is returned for trends only if this data is available.

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.

# Get topics trending in London
gt_city <- ___("___")

# View the first 6 columns
head(___[,1:6])
Modifier et exécuter le code