In the Darwin Core standard, metadata statements are mandatory and must be
provided in Ecological Metadata Language (EML) in a file called eml.xml
. This
function applies a series of checks designed by GBIF to check the structure
of the specified xml document for consistency with the standard. Note,
however, that this function doesn't check the content of those files,
meaning a file could be structurally sound and still be lacking critical
information.
Arguments
- file
An EML file to check Can be either local or a URL.
- schema
Either
NULL
(the default) to compare to the GBIF profile; or a URL to a valid schema (passed internally to xml2::read_xml).- quiet
(logical) Should messages be hidden? Defaults to FALSE
Value
Invisibly returns a tibble showing parsed errors; or an empty tibble if no errors are identified.