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

Connected

Exercise

Filtering for original tweets

An original tweet is an original posting by a twitter user and is not a retweet, quote, or reply.

The "-filter" can be combined with a search query to exclude retweets, quotes, and replies during tweet extraction.

In this exercise, you will extract tweets on "Superbowl" that are original posts and not retweets, quotes, or replies.

The libraries rtweet and plyr have been pre-loaded for this exercise.

Instructions

100 XP
  • Extract tweets that are not retweets, quotes, or replies.
  • Check for the presence of replies.
  • Check for the presence of quotes.
  • Check for the presence of retweets.