add_coverage.Rd
Adds the coverage metadata elements to a dataset list according to EML standards.
add_coverage(parent_element, coverage_metadata, taxonomic_metadata = NULL)
A list representing the EML project or dataset.
a list or datatable of coverage metadata see create_coverage
a list or datatable of taxonomic metadata see create_taxonomic_coverage
The dataset list or project with coverage information appended.
coverage <- list(geographic_description = "Description",
west_bounding_coordinate = "-160.594000",
east_bounding_coordinate = "-134.104800",
north_bounding_coordinate = "71.238300",
south_bounding_coordinate = "67.865000",
begin_date = "1980-01-01",
end_date = "2010-12-31")
if (FALSE) {
dataset <- list() %>%
add_coverage(coverage)
dataset
}