BaşlayınÜcretsiz Başlayın

Compare tweet frequencies for two brands

The volume of tweets posted for a product is a strong indicator of its brand salience. Let's compare brand salience for two competing brands, Puma and Nike.

In the previous exercise, you had created time series objects for tweets on Puma and Nike. You will merge the time series objects and create time series plots to compare the frequency of tweets.

The time series objects for Puma and Nike have been pre-loaded as puma_ts and nike_ts respectively.

The libraries rtweet, reshape, and ggplot2 have also been pre-loaded.

Bu egzersiz

Analyzing Social Media Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Merge the time series objects with "time" as the common column
merged_df <- ___(puma_ts, nike_ts, by = "___", all = TRUE)
head(merged_df)
Kodu Düzenle ve Çalıştır