The anatomy of a Twitter conversation, visualized with R

[This article was first published on Revolutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

If you're a Twitter user like me, you're probably familiar with the way that conversations can easily by tracked by following the #hashtag that participants include in the tweets to label the topic. But what causes some topics to take off, and others to die on the vine? Does the use of retweets (copying another users tweet to your own followers) have an impact?

To look at this question, R user Tony Hirst dissected the anatomy of one Twitter conversation under the hashtag #ukgc12 using the twitteR package and his own R script. The visualization he created (using the ggplot2 package) is a a kind of anatomical dissection of a Twitter conversation: 

Twitter-anatomy
Read the chart from the bottom up: each dot is a tweet. Each new participant in the conversation is listed on the vertical axis – those Twitter users with several dots in their row were active participants. You can see the conversation is quite “bursty”: active periods of replies and retweets punctuated by short pauses. The red dots are “traditional retweets” (beginning with the characters “RT”) — as you can see, the new bursts of conversation are generally preceded by a new tweet (T), not a retweet (RT). And as you'd expect with any conversation, the rate of chatter (the slope of the line) reduces over time.

As far as I can tell, this analysis doesn't include new-style retweets (which rebroadcast to followers but do not create a new, distinct tweet), but it would be interesting to see how they fit into this picture as well.

OUseful.Info: Visualising Activity Around a Twitter Hashtag or Search Term Using R

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)