Learn R Programming

neotoma2 (version 1.0.5)

get_publications: Get publication information for Neotoma records

Description

Uses the Neotoma API to search and access information about publications associated with data in the Neotoma Paleoecology Database

Usage

get_publications(x = NA, ...)

Value

publications object

Arguments

x

integer A contact ID

...

publicationid The unique numeric identifier associated with a publication in Neotoma. datasetid A unique identifier for a Neotoma dataset that is associated with a publication. familyname The full or partial last name for an individual author. pubtype The publication type, from get_tables("publicationtypes"). year The year the publication was released. search A plain text search string used to search the citation.

Examples

Run this code
# \donttest{
# How old are the papers in Neotoma that include the term "mammut"?
mammoth_papers <- get_publications(search="mammut") %>%
  as.data.frame()
hist(as.numeric(mammoth_papers$year))
# }

Run the code above in your browser using DataLab