View source: R/validate_templates.R
validate_provenance | R Documentation |
Validate the provenance template
validate_provenance(x)
x |
(list) The data and metadata object returned by
|
This function compiles provenance input as provenance
to
make_eml()
and listed in the provenance.txt template,
and returns all unique values in the provenance.txt template.
Checks performed by this function:
Template column names are correct
systemID is one of the supported system identifiers
dataPackageID and systemID pair resolves to resource metadata in systemID
A URL is present and resolves for external resources
An online description is recommended for external resources
A title is present for external resources
A persons name, or an organization name, is present for external resources
A creator and contact (role) is listed for each external resource
An email contact is recommended for external resources
Checks are grouped by required and optional criteria. If any required
checks fail, then the entire template is removed from x
.
issues |
(character) Descriptions of issues found in the template |
x |
(list) A potentially modified |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.