Using Introspection to Collect Provenance in R

Autor: Barbara Staudt Lerner, Emery R. Boose, Luis Perez
Jazyk: angličtina
Rok vydání: 2018
Předmět:
Zdroj: Informatics; Volume 5; Issue 1; Pages: 12
Informatics, Vol 5, Iss 1, p 12 (2018)
ISSN: 2227-9709
DOI: 10.3390/informatics5010012
Popis: Data provenance is the history of an item of data from the point of its creation to its present state. It can support science by improving understanding of and confidence in data. RDataTracker is an R package that collects data provenance from R scripts (https://github.com/End-to-end-provenance/RDataTracker). In addition to details on inputs, outputs, and the computing environment collected by most provenance tools, RDataTracker also records a detailed execution trace and intermediate data values. It does this using R’s powerful introspection functions and by parsing R statements prior to sending them to the interpreter so it knows what provenance to collect. The provenance is stored in a specialized graph structure called a Data Derivation Graph, which makes it possible to determine exactly how an output value is computed or how an input value is used. In this paper, we provide details about the provenance RDataTracker collects and the mechanisms used to collect it. We also speculate about how this rich source of information could be used by other tools to help an R programmer gain a deeper understanding of the software used and to support reproducibility.
Databáze: OpenAIRE