Description Usage Arguments Details Value Author(s) References Examples
Use this function for importing and converting an mbox file into a tibble object.
1 |
mbox |
Input mbox file. |
file |
Output RDS file if you want to save. The default is NULL, which is not saving the output as a file. |
read_mbox
See example below.
Tibble object for the input mbox file will be returned.
JooYoung Seo, jooyoung@psu.edu
Soyoung Choi, sxc940@psu.edu
https://en.wikipedia.org/wiki/Mbox
https://docs.python.org/3/library/mailbox.html
https://www.anaconda.com/download/
1 2 3 4 5 6 7 8 | # Changing working directory to temp for the demonstration purpose only.
setwd(tempdir())
library(mboxr)
# Feeding an mbox file through read_mbox function:
test <- system.file("extdata", "test1.mbox", package = "mboxr")
data <- read_mbox(mbox = test, file = "output.rds")
# Now you can use the imported file as a tibble.
str(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.