Learn R Programming

paleobioDB (version 0.7.0)

pbdb_occurrences: pbdb_occurrences

Description

Returns information about species occurrence records stored in the Paleobiology Database.

Usage

pbdb_occurrences(...)

Arguments

...

arguments passed to the API. See all available arguments in http://paleobiodb.org/data1.1/occs/list

  • limit: sets limit to "all" to download all the occurrences. By default the limit is 500.

  • taxon_name: Return only records associated with the specified taxonomic name(s). You may specify multiple names, separated by commas.

  • base_name: Return records associated with the specified taxonomic name(s) and any of their children (e.g. base_name="Canis" will

  • lngmin: numeric. The longitude boundaries will be normalized to fall between -180 and 180. Note that if you specify lngmin then you must also specify lngmax. Returns only records whose geographic location falls within the given bounding box (defined by lngmin, lngmax, latmin, latmax). It generates two adjacent bounding boxes if the range crosses the antimeridian.

  • lngmax: numeric. The longitude boundaries will be normalized to fall between -180 and 180.

  • latmin: numeric. between -90 and 90. Note that if you specify latmin then you must also specify latmax.

  • latmax: numeric. between -90 and 90.

  • min_ma: return only records whose temporal locality is at least this old, specified in Ma.

  • max_ma: return only records whose temporal locality is at most this old, specified in Ma.

  • interval: return only records whose temporal locality falls within the named geologic time interval (e.g. "Miocene").

  • continent: return only records whose geographic location falls within the specified continent(s).

  • show: to show extra variables (e.g. coords, phylo, ident)

Value

a dataframe with the species occurrences

Details

Documentation for all the parameters is available at http://paleobiodb.org/data1.1/occs/list. We describe the most common filters that paleontologists and ecologists might use in the parameter list above.

Examples

Run this code
# NOT RUN {
pbdb_occurrences (id=c(10, 11), show=c("coords", "phylo", "ident")) 
pbdb_occurrences (limit="all", vocab= "pbdb", 
taxon_name="Canis", show=c("coords", "phylo", "ident"))
pbdb_occurrences (limit="all", vocab= "pbdb", 
base_name="Canidae", show=c("coords", "phylo", "ident"))
# }

Run the code above in your browser using DataLab