def_references {rmacrostrat} | R Documentation |
Define references
Description
A function to retrieve the definitions for one or more published scientific references in the Macrostrat database. By default, all reference definitions are returned.
Usage
def_references(ref_id = NULL)
Arguments
ref_id |
|
Value
A data.frame
containing the following columns:
-
ref_id
: The unique identification number(s) for the reference(s). -
pub_year
: The year of publication of the reference. -
author
: The author(s) of the reference. -
ref
: The name of the reference. -
doi
: The digital object identifier of the reference. -
url
: A URL where additional information, the source, or contributing publication can be found. -
t_units
: The total number of Macrostrat units associated with the reference.
Developer(s)
William Gearty
Reviewer(s)
Bethany Allen
See Also
Macrostrat database metadata:
def_projects()
,
def_sources()
,
get_stats()
Examples
# Return all references
ex1 <- def_references()
# Return a subset of references
ex2 <- def_references(ref_id = c(1, 2, 3))