provenance {dataset} | R Documentation |
Get or update provenance information
Description
Add or update information about the history (provenance) of the dataset.
Usage
provenance(x)
provenance(x) <- value
Arguments
x |
A dataset created with |
value |
Use |
Value
provenance(x)
returns the provenance attributes created by
n_triples
as a text; provenance(x)<-value
adds the new
provenance attributes and returns x
invisibly.
Examples
provenance(orange_df)
## add a statement:
provenance(orange_df) <- n_triple(
"https://doi.org/10.5281/zenodo.14917851",
"http://www.w3.org/ns/prov#wasInformedBy",
"isbn:9780471170822"
)
[Package dataset version 0.3.9 Index]