As I was watching Chris Rock host the 2016 Oscars, I decided to finally scratch my curiosity itch and learn
R’s Twitter API,
twitteR. The 2016 Oscars were controversial, due to the fact that all the actors and actresses nominated were white for the second year in a row. Chris Rock made sure to point this out in his opening monologue, and tweets began using the hashtag #OscarsSoWhite to advance the conversation.
I decided to make a word cloud of tweets that used the hashtag #OscarsSoWhite, so I could:
- investigate what people were saying when they used this hashtag;
- finally use the
twitteR package, which I hadn’t up to this point.
The resulting word cloud created in Tableau is below. No blinding insight; mostly it’s obvious that host Chris Rock was a popular tweet topic.
There are lots of nice online tutorials to help scrape Tweets and clean them (they are messy!), for example this one and this one.