Visual Summary of #jan25 Twitter Activity

January 29, 2012

(This article was first published on Bommarito Consulting, LLC » r, and kindly contributed to R-bloggers)

  Last year, I covered a number of the so-called “Twitter protests” in China (#cn220), Iran (#25bahman), and Algeria (#fev12).  Since these protests began in January 2011, the Arab Spring has claimed many members of both ruling and revolting groups – Mubarak in Egypt, Gaddafi in Libya, Ben Ali in Tunisia, Saleh in Yemen, and countless civilian and military casualties throughout the region.

  Despite this seemingly stark year-over-year contrast, some aspects remain the same.  One year after the original #jan25 movement that began in Egypt, protesters again took to Twitter to air their discontent.  In order to document this movement, I used my Python tweet archiving script to record all tweets over a window leading up to and after the January 25th event.  The final dataset has the following properties:

  • First tweet: 20 Jan 2012 02:20:58
  • Last tweet: 27 Jan 2012 14:12:36
  • 33,997 unique Twitter handles
  • 193,935 tweets

  To summarize these tweets, I produced the figures below to highlight who tweeted, when they tweeted, and how the tweets built user-to-user networks. The first plot below lists the 30 highest frequency users on the #jan25 tag.

  This second figure displays the frequency of #jan25 tweets; each bar represents a five-minute interval, and the color of each bar indicates its intensity relative to other intervals in the sample.

  This last figure is a network visualization of the 3-core subgraph of the giant component of the Twitter user mention/RT graph formed by this dataset.  This simplified visualization of the graph contains 9,914 users and 62,631 edges, whereas the entire network is made up of 31,805 users and 89,554 edges.

  While there are a number of trivial observations that could be stated about these three figures, I’ll refrain.  Instead, I’ll be working on answering a more interesting question – how does one “movement” compare to another?  Stay tuned for upcoming analysis ranking #jan25 against other Twitter movements.

To leave a comment for the author, please follow the link and comment on their blog: Bommarito Consulting, LLC » r. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , , , , ,

Comments are closed.


Mango solutions

plotly webpage

dominolab webpage

Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training




CRC R books series

Six Sigma Online Training

Contact us if you wish to help support R-bloggers, and place your banner here.

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)