Learn R Programming

velociraptr (version 1.1.0)

downloadPBDB: Download Occurrences from the Paleobiology Database

Description

Downloads a data frame of Paleobiology Database fossil occurrences.

Usage

downloadPBDB(Taxa, StartInterval = "Pliocene",
  StopInterval = "Pleistocene")

Arguments

Taxa

a character vector

StartInterval

a character vector

StopInterval

a character vector

Value

a data frame

Details

Downloads a data frame of Paleobiology Database fossil occurrences matching certain taxonomic groups and age range. This is simply a convenience function for rapid data download, and only returns the most generically useful fields. Go directly to the Paleobiology Database to make more complex searches or access additional fields. This function makes use of the RCurl package.

  • ocurrence_no: The Paleobiology Database occurrence number.

  • collection_no: The Paleobiology Database collection number.

  • reference_no: The Paleobiology Database reference number.

  • Classifications: The stated Linnean classification of the occurence from phylum through genus. See cleanTaxonomy for how to simplify these fields.

  • accepted_name: The highest resolution taxonomic name assigned to the occurrence.

  • Geologic Intervals: The earliest possible age of the occurrence and latest possible age of the occurrence, expressed in terms of geologic intervals. See constrainAge for how to simplify these fields.

  • Numeric Ages: The earliest possible age of the occurrence and latest possible age of the occurrence, expressed as millions of years ago.

  • Geolocation: Both present-day and rotated paleocoordinates of the occurrence. The geoplate id used by the rotation model is also included. The key for geoplate ids can be found in the Paleobiology Database API documentation.

Examples

Run this code
# NOT RUN {
# Download a test dataset of Ypresian bivalves.
# DataPBDB<-downloadPBDB(Taxa="Bivalvia",StartInterval="Ypresian",StopInterval="Ypresian")

# Download a test dataset of Ordovician-Silurian trilobites and brachiopods.
# DataPBDB<-downloadPBDB(c("Trilobita","Brachiopoda"),"Ordovician","Silurian")

# }

Run the code above in your browser using DataLab