pbdb_taxa: pbdb_taxa

Description Usage Arguments Value Examples

View source: R/pbdb_querys.R

Description

Returns information about multiple taxonomic names. This function can be used to query for all of the children or parents of a given taxon, among other operations.

Usage

1
pbdb_taxa (...)

Arguments

...

arguments passed to the API. See all available arguments in http://paleobiodb.org/data1.1/taxa/list

  • name: returns information about the most fundamental taxonomic name matching this string. The % and _ characters may be used as wildcards.

  • id: return information about the taxonomic name corresponding to this identifier. You may not specify both name and id in the same query.

  • exact: if this parameter is specified, then the taxon exactly matching the specified name or identifier is selected, rather than the senior synonym which is the default.

  • show: to show extra variables: attr the attribution of this taxon (author and year); app the age of first and last appearance of this taxon from the occurrences recorded in this database; size the number of subtaxa appearing in this database; nav additional information for the PBDB Navigator taxon browser

  • rel: set rel="synonyms" to select all synonyms of the base taxon or taxa; rel="children" to select the taxa immediately contained within the base taxon or taxa; rel="common_ancestor" to select the most specific taxon that contains all of the base taxa.

  • extant: TRUE/FALSE to select extant/extinct taxa.

Value

a dataframe with information from a list of taxa

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
pbdb_taxa (name="Canidae", vocab="pbdb", 
show=c("attr", "app", "size", "nav"))
pbdb_taxa (id =c(10, 11), vocab="pbdb", 
show=c("attr", "app", "size", "nav"))
pbdb_taxa (id =c(10, 11), vocab="pbdb", 
show=c("attr", "app", "size", "nav"), rel="common_ancestor")

## End(Not run)

paleobioDB documentation built on July 26, 2020, 1:07 a.m.