speciesList: Prepare List of Species Names for Query

View source: R/speciesList.R

speciesListR Documentation

Prepare List of Species Names for Query

Description

From a list of names already cleaned and validated, the function prepare all fields necessary to obtain species trait data from the TreeCo database.

Usage

speciesList(
  x = NULL,
  tax.name = "suggestedName",
  spp.name = "species.correct",
  fam.name = "family",
  genus.name = "genus",
  tax.rank = "taxon.rank",
  tax.status = "scientificNameStatus",
  out.names = c("Name_submitted", "family", "genus", "species.correct", "taxon.rank")
)

Arguments

x

a data frame with, at least, the cleaned and validated taxa names

tax.name

name of the column containing the cleaned and validate taxa names. Default to 'suggestedName'

spp.name

name of the column containing the original species name, used to obtain the cleaned and validated names. Default to 'species.correct'.

fam.name

name of the column containing the taxon family. Default to 'family'.

genus.name

name of the column containing the taxon genus. Default to 'genus'.

tax.rank

name of the column containing the taxon rank. Default to 'taxon.rank'.

tax.status

name of the column containing the taxon status. Default to 'scientificNameStatus'.

out.names

vector of column names in the output table for 'tax.name', 'fam.name', 'genus.name', 'spp.name' and 'tax.rank', in this specific order.

Details

The function ...

Value

a data frame with ...

Author(s)

Renato A. F. de Lima

See Also

traitCover


LimaRAF/TreeCo documentation built on Sept. 25, 2024, 12:41 p.m.