pbdb_reference: Get information about a single reference

View source: R/pbdb_queries.R

pbdb_referenceR Documentation

Get information about a single reference

Description

Returns information about a single reference, selected by identifier.

Usage

pbdb_reference(id, ...)

Arguments

id

Identifier of the reference. This parameter is required.

...

Arguments passed to the API. See documentation for accepted parameters at https://paleobiodb.org/data1.2/refs/single. E.g.:

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

  • show: Additional information to be shown along with the basic record. Some possible values include:

    • counts: Report the number of taxonomic names, opinions, occurrences, specimens, and collections derived from this reference that have been entered into the database.

    • both: Show both the formatted reference and the individual fields.

Value

A data frame with a single reference.

Examples

## Not run: 
  pbdb_reference(id = 1003, vocab = "pbdb", show = "both")

## End(Not run)

ropensci/paleobioDB documentation built on March 5, 2024, 3:08 a.m.