children_s: Retrieve immediate children taxa for a given taxon name or...

View source: R/children_s.R

children_sR Documentation

Retrieve immediate children taxa for a given taxon name or ID.

Description

Retrieve immediate children taxa for a given taxon name or ID.

Usage

children_s(...)

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

## S3 method for class 'wormsid'
children_s(x, db = NULL, ...)

Arguments

...

Further args passed on to worms_children.

x

character; taxons to query.

db

character; database to query. Only worms for now.

Details

In taxize the equivalent function taxize accepts names and taxonomic identifiers. This function only accepts names for now

Value

A named list of data.frames with the children names of every supplied taxa. You get an NA if there was no match in the database.

Examples

## Not run: 
children_s("Aatolana", db = 'worms')

## End(Not run)

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