PaleobiologyDBTaxonQuerier: Palaeobiology Database Taxon Querier

Description Usage Arguments Details Value Author(s) References Examples

View source: R/PaleobiologyDBTaxonQuerier.R

Description

Given a Paleobiology Database taxon number returns basic information on that taxon.

Usage

1
PaleobiologyDBTaxonQuerier(taxon_no, taxon_name = NULL, original = TRUE)

Arguments

taxon_no

The Paleobiology database taxon number.

taxon_name

A taxon name to search for in the database (default left to NULL).

original

Whether or not to return the original (TRUE) or resolved version (FALSE).

Details

Uses the Paleobiology Database (paleobiodb.org) API to query a known taxon number and returns information on its validity, name, and rank. Intended for use in building dynamic taxonomic resolutions when building metatree matrices (see Lloyd et al. 2016).

Value

A eight-item list detailing the original taxon number (if relevant), the valid (resolved) taxon number, the taxon name, the taxon rank (Paleobiology Database rank number), the taxon number of the parent of this taxon, the taxon validity (if relevant; returns NA if already valid), the accepted taxon number (if relevant), and the accepted taxon name (if relevant).

Author(s)

Graeme T. Lloyd [email protected]

References

Lloyd, G. T., Bapst, D. W., Friedman, M. and Davis, K. E., 2016. Probabilistic divergence time estimation without branch lengths: dating the origins of dinosaurs, avian flight, and crown birds. Biology Letters, 12, 20160609.

Examples

1
2
# Taxon query for Allosaurus fragilis:
PaleobiologyDBTaxonQuerier("52962")

graemetlloyd/metatree documentation built on April 9, 2018, 4:56 a.m.