summarize_fossil_range: Summarize taxon age from PBDB to just a single min and max...

View source: R/tree_from_taxonomy.R

summarize_fossil_rangeR Documentation

Summarize taxon age from PBDB to just a single min and max age

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. It is basically a wrapper for get_fossil_range.

Usage

summarize_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 single row data.frame of max_ma and min_ma for the specimens, with rowname equal to taxon input


datelife documentation built on July 10, 2023, 2:02 a.m.