НачатьНачать бесплатно

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.

Это упражнение является частью курса

Analyzing Social Media Data in R

Посмотреть курс

Инструкции к упражнению

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

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

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


# View the first 6 columns
head(___[,1:6])
Редактировать и запускать код