msgxtractr
: Read Outlook '.msg' Files
'Microsoft' 'Outlook' messages can be saved in '.msg' files. Tools are provided that enable extraction of metadata, envelope, headers, body and attachments from these files.
The following functions are implemented:
read_msg
: Read in an Outlook '.msg' filesave_attachments
: Save all attachments from a 'msg' objecttidy_msg
: Turn a 'msg' object into a 'tibble'devtools::install_github("hrbrmstr/msgxtractr")
options(width=120)
library(msgxtractr) # current version packageVersion("msgxtractr") str(msg1 <- read_msg(system.file("extdata/unicode.msg", package="msgxtractr"))) print(msg1) str(msg2 <- read_msg(system.file("extdata/TestMessage-ansi.msg", package="msgxtractr"))) str(msg3 <- read_msg(system.file("extdata/TestMessage-default.msg", package="msgxtractr"))) str(msg4 <- read_msg(system.file("extdata/TestMessage-unicode.msg", package="msgxtractr"))) str(tidy_msg(msg1), 2) str(tidy_msg(msg2), 2) str(tidy_msg(msg3), 2) str(tidy_msg(msg4), 2)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.