get_fossil_range: Get the ages for a taxon from PBDB

View source: R/tree_from_taxonomy.R

get_fossil_rangeR Documentation

Get the ages for a taxon from PBDB

Description

This uses the Paleobiology Database's API to gather information on the ages for all specimens of a taxon. It will also look for all descendants of the taxon. It fixes name misspellings if possible.

Usage

get_fossil_range(taxon, recent = FALSE, assume_recent_if_missing = TRUE)

Arguments

taxon

The scientific name of the taxon you want the range of occurrences of

recent

If TRUE, forces the minimum age to be zero

assume_recent_if_missing

If TRUE, any taxon missing from pbdb is assumed to be recent

Value

a data.frame of max_ma and min_ma for the specimens


phylotastic/datelife documentation built on Jan. 17, 2024, 11:10 p.m.