View source: R/template_provenance.R
template_provenance | R Documentation |
Describes any source datasets used in the creation of the derived dataset being described. Explicitly listing the DOIs and/or URLs of input data help future users understand in greater detail how the derived data were created and may some day be able to assign attribution to the creators of referenced datasets.
template_provenance(
path = NULL,
empty = TRUE,
write.file = TRUE,
return.obj = FALSE
)
path |
(character) Path to the metadata template directory. |
empty |
(logical) Whether to write an empty template file. Default is |
write.file |
(logical; optional) Whether to write the template file. Default is |
return.obj |
(logical; optional) Whether to return the provenance template as a data frame. Default is |
provenance |
Columns:
This table has a "long" (i.e. name-value) format accomodating multiple contacts and creators within a single provenance record. |
## Not run:
# Set working directory
setwd("/Users/me/Documents/data_packages/pkg_260")
# For an empty template to be filled manually
template_provenance(path = "./metadata_templates")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.