ps_getrecord: Retrieve an individual record from the Pensoft journals.

View source: R/ps_getrecord.r

ps_getrecordR Documentation

Retrieve an individual record from the Pensoft journals.

Description

Retrieve an individual record from the Pensoft journals.

Usage

ps_getrecord(id = NULL, transform = TRUE, prefix = "oai_dc",
  url = "http://oai.pensoft.eu")

Arguments

prefix

The prefix to use, one of: "oa_dc" (Dublin Core metadata format), "mods" http://www.loc.gov/standards/mods/.

Examples

## Not run: 
out <- ps_getrecord("10.3897/zookeys.1.10", T)
out$metadata # get $identifier, $datestamp, $setSpec, or $metadata
oaih_transform(out$metadata) # transform only metadata to a list

# Using mods prefix
ps_getrecord("10.3897/zookeys.1.10", T, "mods")

## End(Not run)

ropensci/rpensoft documentation built on May 18, 2022, 7:31 p.m.