Displays provenance graphically for provenance collected by the 'rdt' or
'rdtLite' packages, or other tools providing compatible PROV JSON output. The exact
format of the JSON created by 'rdt' and 'rdtLite' is described in
< https://github.com/End-to-end-provenance/ExtendedProvJson>. More information about
rdtLite and associated tools is available at < https://github.com/End-to-end-provenance/>
and Barbara Lerner, Emery Boose, and Luis Perez (2018), Using Introspection to Collect
Provenance in R, Informatics,
provViz is a simple tool that allows the user to visualize a provenance graph collected by rdt or rdtLite using DDG Explorer. For information on how to use DDG Explorer, please see the DDG Explorer README.
If you have collected provenance in this R session using rdt or rdtLite, you can view the provenance from the last execution using prov.visualize:
To run a script and view its provenance, call the prov.visualize function:
prov.visualize (r.script.path = NULL, tool = "rdtLite")
If you already have provenance stored in a file, call the prov.visualize.saved function:
r.script.path - The path to an R script. This script will be executed with provenance captured by rdt or rdtLite. If r.script.path is NULL, the last provenance graph captured will be displayed.
tool - which tool to use to capture proveannce. Possible values are "rdtLite" or "rdt".
prov.file - The name of a file containing provenance.
If the user calls this with NULL for r.script.path but no provenance has been captured yet in the session, there is a json string returned but it is not valid.