PaleobiologyDBOccurrenceQuerier: Palaeobiology Database Occurrence Querier

Description Usage Arguments Details Value Author(s) References Examples

View source: R/PaleobiologyDBOccurrenceQuerier.R

Description

Given a set of Paleobiology Database taxon name(s) or number(s) returns occurrence information for those tax(a).

Usage

1
2
3
4
5
6
PaleobiologyDBOccurrenceQuerier(
  taxon_nos,
  original = TRUE,
  breaker = 100,
  RetainUncertainOccurrences = FALSE
)

Arguments

taxon_nos

A vector of Paleobiology database taxon number(s) to retrieve from the database.

original

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

breaker

Size of breaker to use if querying a large number of taxa (reduces load on database of individual queries; default is 100).

RetainUncertainOccurrences

Logical indicating whether or not to retain uncertain (i.e., aff, cf., ?, "") occurrences (defaults to FALSE).

Details

Uses the Paleobiology Database (paleobiodb.org) API (Peters and McLennen 2016) to query known taxon numbers and returns information on their occurrence as fossils (where this data is available in the database).

Value

A multi-column matrix with rows as occurrences.

Author(s)

Graeme T. Lloyd graemetlloyd@gmail.com

References

Peters, S. E. and McClennen, M., 2016. The Paleobiology Database application programming interface. Paleobiology, 42, 1-7.

Examples

1
2
# Occurrence query for Allosaurus fragilis:
PaleobiologyDBOccurrenceQuerier(taxon_nos = "52962")

graemetlloyd/metatree documentation built on April 29, 2021, 2:32 a.m.