DwC2taxo | R Documentation |
Converts a Darwin Core name list to taxolist format
DwC2taxo(namelist, statuslist = NA, source = NA)
namelist |
names list in Darwin Core format |
statuslist |
vector listing taxonomicStatus to be considered in the namelist. If Default value is NA, automatically uses list of
|
source |
source of the namelist i.e. Global Biodiversity Information Facility 'GBIF' or Integrated Taxonomic Information System 'ITIS'. Default NA |
The name lists downloaded from 'GBIF' or 'ITIS' website in Darwin Core (DwC) format has all the required fields for taxolist. The list just needs to be converted to taxolist by renaming column names and and quality checked in terms of missing synonym to accepted name linkages at times.
names list is taxolist format
Other List functions:
cast_cs_field()
,
compact_ids()
,
get_synonyms()
,
match_lists()
,
melt_cs_field()
,
merge_lists()
,
syn2taxo()
,
synonymize_subspecies()
,
taxo2DwC()
,
taxo2doc()
,
taxo2syn()
,
wiki2taxo()
dwclist <- data.frame("taxonKey" = c("5129025","6224429","1896957"),
"scientificName" = c("Charaxes solon Fabricius, 1793",
"Papilio jason Linnaeus, 1767",
"Charaxes jasius (Linnaeus, 1767)"),
"acceptedTaxonKey" = c("5129025","1896957","1896957"),
"acceptedScientificName" = c("Charaxes solon Fabricius, 1793",
"Charaxes jasius (Linnaeus, 1767)",
"Charaxes jasius (Linnaeus, 1767)"),
"taxonRank" = c("SPECIES","SPECIES","SPECIES"),
"taxonomicStatus" = c("ACCEPTED","SYNONYM","ACCEPTED"),
"family" = c("Nymphalidae","Nymphalidae","Nymphalidae"),
"order" = c("Lepidoptera","Lepidoptera","Lepidoptera"),
stringsAsFactors = FALSE)
mytaxo <- DwC2taxo(dwclist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.