Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Analyzing Social Media Data in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Extract tweets on #walmart and exclude retweets
walmart_twts <- ___("#walmart", n = 18000, include_rts = ___)

# View the output
head(walmart_twts)
Code bewerken en uitvoeren