Description Usage Arguments Details Value Note
View source: R/addProvenance.R
It's important to track data provenance, the steps taken to produce a particular dataset. Each operation in the RCMIP5 package adds provenance information via this function.
1 | addProvenance(x, msg, verbose = FALSE)
|
x |
A |
msg |
Either a string (message to be added to the provenance) or
a cmip5data object, in which case the provenance of this latter object is appended
to that of |
verbose |
logical. Print info as we go? |
We want to track computational steps applied to a particular
cmip5data
object, for reproducibility and user debugging.
This function logs information from the caller to a 'provenance' data structure.
The original object, with an updated provenance containing:
timestamp |
Date and time entry was added |
caller |
The function that added this entry, including its parameter values |
message |
Description of action(s) taken |
dim |
Data dimensions when this entry was added |
digest |
Hash of the data when this entry was added; see |
This is an internal RCMIP5 function and not exported.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.