Visualizing Phoenix data using Shiny
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
A while back, I wrote a blog post about event data and specifically EL:DIABLO. While EL:DIABLO provides the infrastructure for you to get and process event data yourself, you can also download the daily updates that are generated by the authors’ own setup of EL:DIABLO. I thought it would be fun to make a high-level daily overview of these data using shiny. You can find the shiny application here and the code to generate it here.
Looking at these data allows you to follow each geo-located event to its original story. Furthermore, it gives you an overview of the top-ten actors in terms of actions initiated and received, and provides a breakdown of daily events in ‘PentaClasses’ and CAMEO codes.
Looking at these graphs, it also becomes clear what some of this issues are with the data. Firstly, there is a bias in reporting events in the United States. Secondly, not all events can be properly traced back to the original article. Cool nonetheless!
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.