Learn R Programming

paleobioDB (version 0.7.0)

pbdb_strata: pbdb_strata

Description

Returns information about geological strata, selected by name, rank, and/or geographic location.

Usage

pbdb_strata (...)

Arguments

...

arguments passed to the API. See documentation for accepted parameters in http://paleobiodb.org/data1.1/strata/list. Eg:

  • name: a full or partial name. You can use % and _ as wildcards, but the query will be very slow if you put a wildcard at the beginning

  • rank: returns only strata of the specified rank: formation, group or member.

  • 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 generate 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.

  • loc: Return only strata associated with some occurrence whose geographic location falls within the specified geometry, specified in WKT format.

  • vocab: set vocab="pbdb" to show the complete name of the variables (by default variables have short 3-letter names)

  • ...

Value

a dataframe with information from the selected strata

Examples

Run this code
# NOT RUN {
pbdb_strata (lngmin=0, lngmax=15, latmin=0, latmax=15, rank="formation", vocab="pbdb") 
# }

Run the code above in your browser using DataLab