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.
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.
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()
Returns
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).