create_taxonomic_coverage.Rd
Create the taxonomic coverage information of a dataset based off of EML standards. The addition of taxonomic coverage is (Optional), however defaults of chinook, sturgeon, smelt, and steelhead are provided. While single or multiple taxonomies can be applied, the full set of information must be provided if chosen to be included.
create_taxonomic_coverage(
CVPIA_common_species = NULL,
kingdom = "kingdom",
kingdom_value = NULL,
phylum = "phylum",
phylum_value = NULL,
class = "class",
class_value = NULL,
order = "order",
order_value = NULL,
family = "family",
family_value = NULL,
genus = "genus",
genus_value = NULL,
species = "species",
species_value = NULL,
common_name = NULL,
taxon_id = NULL
)
Use one of the following from the helper data
CVPIA_common_species
: "chinook", "delta_smelt",
"white_sturgeon", "green_sturgeon", or "steelhead" to get pre-selected
information from ITIS.
Kingdom level present.
The kingdom name.
Phylum level present.
The phylum name.
Class level present.
The class level name.
Order level present.
The order level name.
Family level present.
The family level name.
Genus level present.
The genus level name.
Species level present.
The species level name.
The common name of the organism.
(Optional). The taxonomic serial number provided by ITIS.
Taxonomic coverage information. The function should be assigned to the name taxonomic_coverage to append it to the dataset or project. Example of how to incorporate it into the add_coverage function is seen below.
The following frequently cited species are available for convenience:
EMLaide::CVPIA_common_species$chinook - Oncorhynchus tshawytscha (ITIS: 161980)
EMLaide::CVPIA_common_species$steelhead - Oncorhynchus mykiss (ITIS: 161989)
EMLaide::CVPIA_common_species$delta_smelt - Hypomesus transpacificus (ITIS: 162032)
EMLaide::CVPIA_common_species$white_sturgeon - Acipenser transmontanus (ITIS:161068)
EMLaide::CVPIA_common_species$green_sturgeon - Acipenser medirostris (ITIS: 161067)
For further taxonomic coverage (i.e subkingdom, infrakingdom, etc.) on any of these species, you can visit: ITIS's webpage for full coverage information.
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "chinook")
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "delta_smelt")
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "white_sturgeon")
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "green_sturgeon")
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(CVPIA_common_species = "steelhead")
if (FALSE) taxonomic_coverage <- create_taxonomic_coverage(kingdom_value = "Animalia",
phylum_value = "Chordata",
class_value = "Mammalia",
order_value = "Carnivora",
family_value = "Felidae",
genus_value = "Panthera",
species_value = "Panthera Leo",
common_name = "Lion",
taxon_id = "183803")
# To append this information to the dataset or project:
if (FALSE) 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)