This function checks the quality of EML metadata, such as the presence and completeness of EML fields and correct formatting.

qa_eml(input, all_results = FALSE)

Arguments

input

(eml) An EML object.

all_results

(logical) Return all results. If FALSE, only returns results with FAILURE or ERROR status.

Value

(list) A list of results.

Details

Not all FAILURE messages necessarily indicate something wrong with the metadata. For example, missing project information will return a FAILURE status, but project information is not necessary if there is no affiliated project.

See also

Examples

# NOT RUN {
# Results with FAILURE or ERROR status
qa_eml(eml)

# All results
qa_eml(eml, all_results = TRUE)
# }