validate_geographic_coverage: Validate geographic coverage metadata

View source: R/validate_templates.R

validate_geographic_coverageR Documentation

Validate geographic coverage metadata

Description

Validate geographic coverage metadata

Usage

validate_geographic_coverage(x)

Arguments

x

(named list) The data and metadata object returned by template_arguments().

Details

This function compiles geographic coverage input as geographic.coordinates and geographic.description to make_eml(), and listed in the geographic_coverage.txt template, and returns all unique values in the geographic_coverage.txt template.

Checks performed by this function:

  • Column names are correct

  • Geographic coverage is not missing

  • Each entry is complete

  • Decimal degree is expected

  • The cordinate range is valid

Value

issues

(character) Descriptions of issues found in the template grouped by "required" and "optional" criteria.

x

(named list) If "required" issues are found, then the template is removed.


EDIorg/emlAssemblyLine documentation built on Nov. 4, 2022, 11:59 p.m.