You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boB Rudis 36ca081a2e
nested folder metadata
1 month ago
R nested folder metadata 1 month ago
imgs logo & git setup test 2 years ago
inst nested folder metadata 1 month ago
man nested folder metadata 1 month ago
tests nested folder metadata 1 month ago
.Rbuildignore logo & git setup test 2 years ago
.codecov.yml intial commit 2 years ago
.gitignore intial commit 2 years ago
.travis.yml intial commit 2 years ago
DESCRIPTION nested folder metadata 1 month ago
LICENSE testing folders 1 month ago
NAMESPACE nested folder metadata 1 month ago
NEWS.md nested folder metadata 1 month ago
README.Rmd nested folder metadata 1 month ago
README.md nested folder metadata 1 month ago
freepst.Rproj intial commit 2 years ago

README.md

Signedby Linux buildStatus CoverageStatus Minimal RVersion License

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 metadata
  • read_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.