This week, Ellis Hughes and I show how to scrape tweets using the {rtweet} package.
First, we scrape tweets containing the hashtag, Debate2020. We then walk through how to do a sentiment analysis to evaluate positive and negative sentiment based on the words used by those making the tweets and show how this sentiment varies between countries.
To watch our screen cast, CLICK HERE.
To access our code, CLICK HERE.