您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
boB Rudis
36ca081a2e
|
4 年前 | |
---|---|---|
R | 4 年前 | |
imgs | 7 年前 | |
inst | 4 年前 | |
man | 4 年前 | |
tests | 4 年前 | |
.Rbuildignore | 7 年前 | |
.codecov.yml | 7 年前 | |
.gitignore | 7 年前 | |
.travis.yml | 7 年前 | |
DESCRIPTION | 4 年前 | |
LICENSE | 4 年前 | |
NAMESPACE | 4 年前 | |
NEWS.md | 4 年前 | |
README.Rmd | 4 年前 | |
README.md | 4 年前 | |
freepst.Rproj | 7 年前 |
README.md
freepst
Read OST/PST Files
Description
An ‘rJava’ wrapper around ‘java-libpst’ https://github.com/rjohnsondev/java-libpst. The PST File format is used by Outlook for the storage of emails. Over the years many people have accumulated a large amount of important email and other information into these files. Tools are provided to enable folks to access and extract this information for archival or analysis.
Get out of PST Jail Free!
What’s Inside The Tin
The following functions are implemented:
read_folder
: Get all messages in an OST/PST with nested folder metadataread_pst
: Get all messages in an OST/PST
Installation
remotes::install_gitlab("hrbrmstr/freepst")
# or
remotes::install_github("hrbrmstr/freepst")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.
Usage
library(freepst)
# current version
packageVersion("freepst")
## [1] '0.2.0'
dplyr::glimpse(read_pst(system.file("extdata/example-2013.ost", package="freepst")))
## Rows: 3
## Columns: 15
## $ folder <chr> "Inbox", "Inbox", "Sent Items"
## $ sent_by <chr> "Microsoft Outlook", "Microsoft Outlook", "Bernard Chung"
## $ sent_by_addr <chr> "arc.test1@apogeephysicians.com", "arc.test1@apogeephysicians.com", "bernard.chung@apogeephy…
## $ received_by <chr> "Arc Test", "Arc Test", "Arc Test"
## $ received_by_addr <chr> "arc.test1@apogeephysicians.com", "arc.test1@apogeephysicians.com", "arc.test1@apogeephysici…
## $ recipients <chr> "No recipients table!", "No recipients table!", "No recipients table!"
## $ sent_time <chr> "Thu Jun 05 12:22:32 EDT 2014", "Wed Apr 09 15:54:39 EDT 2014", "Wed Apr 09 12:38:31 EDT 201…
## $ delivery_time <chr> "Thu Jun 05 12:22:32 EDT 2014", "Wed Apr 09 15:54:39 EDT 2014", "Wed Apr 09 12:38:32 EDT 201…
## $ importance <int> 1, 1, 1
## $ priority <int> 0, 0, 0
## $ attachment_count <int> 0, 0, 0
## $ subject <chr> "Microsoft Outlook Test Message", "Microsoft Outlook Test Message", "Test 2"
## $ body <chr> "", "", ""
## $ headers <chr> "Return-Path: <arc.test1@apogeephysicians.com>\r\nDelivered-To: arc.test1@apogeephysicians.c…
## $ tostr <chr> "PSTEmail: Microsoft Outlook Test Message\nImportance: 1\nMessage Class: IPM.Note\n\nReturn-…
dplyr::glimpse(read_pst(system.file("extdata/dist-list.pst", package="freepst")))
## Rows: 3
## Columns: 15
## $ folder <chr> "Calendar", "Contacts", "Contacts"
## $ sent_by <chr> "Unknown", "Unknown", "Unknown"
## $ sent_by_addr <chr> "Unknown", "Unknown", "Unknown"
## $ received_by <chr> "", "", ""
## $ received_by_addr <chr> "", "", ""
## $ recipients <chr> "No recipients table!", "No recipients table!", "No recipients table!"
## $ sent_time <chr> "Mon Aug 01 20:27:12 EDT 2016", "Sun May 25 09:58:28 EDT 2014", "Sun May 25 09:58:59 EDT 201…
## $ delivery_time <chr> "Mon Aug 01 20:27:12 EDT 2016", "Sun May 25 09:58:28 EDT 2014", "Sun May 25 09:58:59 EDT 201…
## $ importance <int> 1, 1, 1
## $ priority <int> 0, 0, 0
## $ attachment_count <int> 2, 0, 0
## $ subject <chr> "Test appointment", "contact name 1", "test dist list"
## $ body <chr> "This is a complete test\r\n", "", ""
## $ headers <chr> "", "", ""
## $ tostr <chr> "PSTEmail: Test appointment\nImportance: 1\nMessage Class: IPM.Appointment\n\n\n\n\n{4096=Ta…
freepst Metrics
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 7 | 0.88 | 114 | 0.92 | 25 | 0.56 | 51 | 0.61 |
Rmd | 1 | 0.12 | 10 | 0.08 | 20 | 0.44 | 32 | 0.39 |
Code of Conduct
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.