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.
Bu egzersiz
Analyzing Social Media Data in R
kursunun bir parçasıdırUygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Extract tweets on #walmart and exclude retweets
walmart_twts <- ___("#walmart", n = 18000, include_rts = ___)
# View the output
head(walmart_twts)