Working with the Clinton State Dept Email Dumps in R (Part 1: Graphs)
[This article was first published on R – rud.is, 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.
I put this together after experimenting with Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
ggplot2
and ggnetwork
earlier this week. The changes I made added svgPanZoom
into the mix. Consequently, it has a widget in it, so it was just easier to embed the full R markdown HTML into an iframe
than to try to extract the content piecemeal into WP.
You can bust the iframe
via http://rud.is/projects/clinton_emails_01.html.
Read on to see how to grab some JSON, create edge list, do some basic graph stats with igraph
and generate an interactive visualization with ggplot2
and svgPanZoom
.
To leave a comment for the author, please follow the link and comment on their blog: R – rud.is.
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.