synonyms_s: Retrieve synonyms from various sources given input taxonomic...

View source: R/synonyms_s.R

synonyms_sR Documentation

Retrieve synonyms from various sources given input taxonomic names or identifiers.

Description

Retrieve synonyms from various sources given input taxonomic names or identifiers.

Usage

synonyms_s(...)

## Default S3 method:
synonyms_s(x, db = NULL, ...)

## S3 method for class 'wormsid'
synonyms_s(id, ...)

Arguments

...

Other passed arguments.

x

character; taxons to query.

db

character; database to query. Only worms for now

id

character; identifiers, returned by get_wormsid

Value

A named list of data.frames with the synonyms of every supplied taxa.

Note

If IDs are supplied directly (not from the get_* functions) you must specify the type of ID.

See Also

get_wormsid

Examples

## Not run: 
# Plug in taxon names directly
synonyms_s("Salvelinus fontinalis", db='worms')

# Use methods for get_wormsid
synonyms_s(get_wormsid("Salvelinus fontinalis"))

## End(Not run)

ropensci/taxizesoap documentation built on May 18, 2022, 7:33 p.m.