README.md

Data Provenance Capture in R

Collect meta-data from scripts written in the R programming language.

Build Status

| Branch |Status | |-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | master | Master Build Status | | development | Development Build Status |

To Install

Install directly from github using devtools:

library(devtools)
install_github("ProvTools/ProvR")

Collect Provenance

Once installed a libraried, you can now easily collect provenance from any script:

library(ProvR)
prov.capture("example.R")

The provenance will be stored in memory as a JSON formatted string following the W3C PROV-JSON standard format , which can be accessed like so:

prov.json()

You can write the provenance to your hard drive by doing the following:

prov.capture("example.R", save = TRUE)

ProvR is a simplified fork of the RDataTracker



ProvTools/provR documentation built on Oct. 21, 2017, 11:58 a.m.