recordr: Record, review and publish data provenance.

Description Details Classes Author(s) Examples

Description

The R package recordr provides methods to easily record data provenance about R script executions, such as the files that were read and written by the script, along with information about the execution, such as start time end time, the R modules loaded during the execution, etc. This provenance information along with any files created by the script can then be combined into a data package and uploaded to a data repository such as DataONE.

Details

An overview of the recordr package is available with the R command: 'vignette("recordr_overview")'.

Classes

Author(s)

Peter Slaughter (NCEAS), Matthew B. Jones (NCEAS), Christopher Jones (NCEAS)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# This example shows how to record provenance for an R script and view the recorded 
information.
library(recordr)
rc <- new("Recordr")
record(rc, "./myScript.R", tag="Simple script recording #1")
listRuns(rc, tag="recording #1")
viewRuns(rc, tag="recording #1")

## End(Not run)

recordr documentation built on Sept. 12, 2016, 12:58 p.m.

Related to recordr in recordr...