DwC2taxo: Darwin Core to Taxolist format

View source: R/DwC2taxo.R

DwC2taxoR Documentation

Darwin Core to Taxolist format

Description

Converts a Darwin Core name list to taxolist format

Usage

DwC2taxo(namelist, statuslist = NA, source = NA)

Arguments

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

  • Accepted

  • Synonym

  • Valid

  • heterotypic Synonym

  • homotypic Synonym

  • doubtful,

  • proparte synonym

source

source of the namelist i.e. Global Biodiversity Information Facility 'GBIF' or Integrated Taxonomic Information System 'ITIS'. Default NA

Details

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.

Value

names list is taxolist format

See Also

Other List functions: cast_cs_field(), compact_ids(), get_synonyms(), match_lists(), melt_cs_field(), merge_lists(), syn2taxo(), synonymize_subspecies(), taxo2DwC(), taxo2doc(), taxo2syn(), wiki2taxo()

Examples


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)


taxotools documentation built on Jan. 23, 2023, 5:24 p.m.