View source: R/coverage-element.R
create_coverage | R Documentation |
Creates the coverage information of a dataset based off of EML standards.
create_coverage(
geographic_description,
west_bounding_coordinate,
east_bounding_coordinate,
north_bounding_coordinate,
south_bounding_coordinate,
begin_date,
end_date,
taxonomic_coverage = NULL
)
geographic_description |
A description of the locations of research sites and areas related to the data. |
west_bounding_coordinate |
The west cardinality limit. |
east_bounding_coordinate |
The east cardinality limit. |
north_bounding_coordinate |
The north cardinality limit. |
south_bounding_coordinate |
The south cardinality limit. |
begin_date |
The starting date for the dataset or project. Dates must be provided in ISO 8601 format, YYYY-MM-DD. |
end_date |
The projected or actual end date for the dataset or project. Dates must be provided in ISO 8601 format, YYYY-MM-DD. |
taxonomic_coverage |
Addition of taxonomic coverage is optional. The taxonomic information for all organisms relevant to the study should be included and mandates the input of the taxonomy levels of kingdom-species. An example of how to append this information using the create_taxonomic_coverage function is given down below. |
A coverage element that can be appended to a dataset.
## Not run: create_coverage(geographic_description = "North Slope
drainage basin: Bounding box encompasses 42 drainage basins
totaling the North Slope drainage basin, Alaska, USA.",
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")
## End(Not run)
taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "chinook")
## Not run: create_coverage(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",
taxonomic_coverage = taxonomic_coverage)
## End(Not run)
# For adding multiple taxonomies to the coverage:
chinook <- create_taxonomic_coverage(CVPIA_common_species = "chinook")
delta <- create_taxonomic_coverage(CVPIA_common_species = "delta_smelt")
taxonomic_coverage <- list(chinook, delta)
## Not run: create_coverage(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",
taxonomic_coverage = taxonomic_coverage)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.