View source: R/get_package_evaluation.R
get_package_evaluation | R Documentation |
get_package_evaluation
will use the generated eml.xml
and uploaded data to check the congruence of a data package.
get_package_evaluation(identifier = NULL, scope = NULL, full_report = FALSE)
identifier |
(integer) Unquoted package identifier integer |
scope |
(character) Quoted package scope (e.g., "knb-lter-cap", "edi") |
full_report |
(logical) Logical indicating whether to return a summary (default) or detailed evaluation report. |
summary or detailed evaluation report
This is a full evaluation of the data package, including checking supplied metadata against provided data, as opposed to, for example, just checking that the schema is valid. As such, the data files must be available to EDI for proper evaluation.
get_package_evaluation
will look for a config.yaml file to
estalish the package scope and identifier. Alternatively, these parameters
can be provided by the user but, in that case, both parameters must be
provided.
If warns or errors are returned, we can view the full report to
examine the details of those problems. For example, write the report to file
with xml2::write_xml(report, "/tmp/report.xml")
, and search for e.g.,
'<status>warn'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.