pdb.autodiv: 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, ...)
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).
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)
- ...
additional arguments to be passed on to pdb()
Examples
Run this codepdb.autodiv("Coelophysoidea")->coelo
Run the code above in your browser using DataLab