ComeçarComece de graça

Trends by country name

Location-specific trends identify popular topics trending in a specific location. You can extract trends at the country level or city level.

It is more meaningful to extract trends around a specific region, in order to focus on twitter audience in that region for targeted marketing of a brand.

Can you extract topics trending in Canada and view the trends?

The library rtweet has been pre-loaded for this exercise.

Este exercício faz parte do curso

Analyzing Social Media Data in R

Ver curso

Instruções do exercício

  • Extract topics trending in Canada.
  • View the first 6 columns of extracted data.

Exercício interativo prático

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

# Get topics trending in Canada
gt_country <- ___("___")


# View the first 6 columns
head(___[,1:6])
Editar e executar o código