Fetch Hillary Rodham Clinton's Emails

Fetch and process Hillary Rodham Clinton's "personal" emails.


Fetch and process Hillary Rodham Clinton's personal emails.

You can install rodham from github with:

# install.packages("devtools")
devtools::install_github("JohnCoene/rodham")
# fetch emails
data(emails)
 
# build graph
edges <- edges_emails(emails)
g <- igraph::graph.data.frame(edges)
 
# plot 
plot(g)
 
# get email content
ext <- get_xpdf()
 
# get emails related to Benghazi released in December
emails_bengh <- get_emails(release = "Benghazi", extractor = ext)
files <- list.files(emails_bengh) # list files
content <- lapply(1:length(files), function(x){
    readLines(paste0(emails_bengh, "/", files[[x]]))
})

See vignette for more examples: devtools::build_vignettes()

Project Vault

See other projects at http://johncoene.github.io/projects/

News

rodham 0.0.2

  • Added get_xpdf to download and unzip xpdf.
  • Added get_email to download actual email contents
  • Removed useless nodes_emails FUN
  • Added "how-to" vignette

rodham 0.0.1

  • Added a NEWS.md file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rodham")

0.0.3 by John Coene, 2 months ago


https://github.com/JohnCoene/rodham


Report a bug at https://github.com/JohnCoene/rodham/issues


Browse source code at https://github.com/cran/rodham


Authors: John Coene [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports jsonlite, splitstackshape, plyr, methods, utils

Suggests testthat, covr, knitr, rmarkdown, igraph, lintr


See at CRAN