R unfolds the history of the Afghanistan war

August 9, 2010

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

Drew Conway continues his analysis of the Wikileaks data. Having concluded that the data appear legitimate (except perhaps in one region, based on a Benford’s Law analysis of the numbers in the documents), Drew follows up with a spatio-temporal analysis of activity within Afghanistan, based on the datelines of the documents themselves (click to enlarge):


Each panel represents a year of documents; each dot is a document color-coded by the event type. Over time, you can see a steady increase in the number of reported incidents and also a change in their character, such as the perplexing number of neutral/unknown incidents in 2007. (If I were to request one change of Drew for this chart, it would be for a four-way, for-color segmentation of incidents as friendly, neutral, enemy and unknown, to make it easier to distinguish the event types.)

Wired’s Danger Room column gives an in-depth look at Drew’s analysis; you should take a look at is as well as Drew’s original post below. Drew’s R code for all his analysis is also available at this github repository.

Zero Intelligence Agents: Wikileaks Attack Data by Year and Type Projected on Afghanistan Regional Map

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 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.

Search R-bloggers


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)