Most tweeted words each month: a year snapshot

rOpenSci package or resource used

rtweet

Also used: gganimate, ggplot, lubridate. Code adapted from Julia Silge’s and David Robinson’s twitter case study in their book Text Mining with R and a helpful Stackoverflow answer by a user named Edward :wink:

What did you do?

This was part of a final project for a course on Text Mining techniques. I analyzed the differences between three universities’ main Twitter accounts: @DukeU, @NCState, @UNC. I took a year snapshot of tweets utilizing rtweet and tried to find similarities and differences of what they were talking about. Covid19 was one of the key similarities, which makes sense given the year was dominated by the pandemic. You can see the progression of most frequently tweeted terms (tokenized by unigrams) by the use of gganimate + geom_text_wordcloud.

URL or code snippet for your use case

https://sorayaworldwide.github.io/DukeUNCNCStateTweets.html

Image

gg_Duke

Sector

Academic

Field(s) of application

Higher Education

Comments

I welcome any feedback - very new at this!

Twitter handle

@sorayaworldwide

4 Likes