ps_getrecord: Retrieve an individual record from the Pensoft journals.

Description Usage Arguments Examples

Description

Retrieve an individual record from the Pensoft journals.

Usage

1
2
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

1
2
3
4
5
6
7
8
9
## 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 27, 2019, 6:33 p.m.