pdb.autodiv {paleoDiv}R Documentation

A wrapper around pdb(), occ.cleanup() and mk.sptab() to automatically download and clean occurrence data from the paleobiology database and build species-level taxon-range tables for multiple taxa in one step.

Description

A wrapper around pdb(), occ.cleanup() and mk.sptab() to automatically download and clean occurrence data from the paleobiology database and build species-level taxon-range tables for multiple taxa in one step.

Usage

pdb.autodiv(taxa, cleanup = TRUE, interval = NULL)

Arguments

taxa

Either a character vector of valid taxonomic names, or an object of class "phylo" whose tip.labels to use instead.

cleanup

Logical indicating whether to apply occ.cleanup() to occurrence data after download (defaults to TRUE)

interval

Stratigraphic interval for which to download data (defaults to NULL, which downloads data for all intervals)

Value

A list() object containing occurrence data (saved under the taxon names given) and species-level taxon-range tables (saved with the prefix "sptab_" before the taxon names).

Examples

pdb.autodiv("Coelophysoidea")->coelo

[Package paleoDiv version 0.3.0 Index]