1. Learn
  2. /
  3. Courses
  4. /
  5. Analyzing Social Media Data in R

Exercise

Create time series objects

A time series object contains the aggregated frequency of tweets over a specified time interval.

Creating time series objects is the first step before visualizing tweet frequencies for comparison.

In this exercise, you will be creating time series objects for the competing sportswear brands Puma and Nike.

Tweets extracted using search_tweets() for "#puma" and "#nike" have been pre-loaded for you as puma_st and nike_st.

Instructions 1/2

undefined XP
  • 1
    • Create a time series object at hourly intervals for tweets on "#puma".
  • 2
    • Create a time series object at hourly intervals for tweets on "#nike".