children: Retrieve immediate descendents of a taxon

View source: R/ap_children.R

childrenR Documentation

Retrieve immediate descendents of a taxon

Description

Retrieve immediate descendents of a taxon

Usage

children(x, db = "ncbi", verbose = TRUE, ...)

Arguments

x

(character) Vector of taxon keys for the given database

db

(character) The database to search, one of ncbi, itis, gbif, col, or wfo

verbose

(logical) Print verbose messages

...

Additional arguments passed to database specific function.

Value

list of tibbles with the columns: id, name, rank. This is exactly equivalent to the output of taxize::children()

Examples

## Not run: 
children(c(3700, 2))
children(c(154395, 154357), db="itis")
children("wfo-4000032377", db="wfo")
children(2877951, db="gbif")
children(3960765, db="col") # Abies

## End(Not run)

ropenscilabs/taxizedb documentation built on May 4, 2023, 7:05 a.m.