md_getrecord: Get a record from a OAI-PMH data provider.

Description Usage Arguments Details Author(s) See Also Examples

View source: R/md_getrecord.r

Description

Get records for the data sources from the OAI-PMH list, and others not on that list, including PMC, DataCite, Hindawi Journals, Dryad, and Pensoft Journals.

Usage

1
2
md_getrecord(provider = NULL, identifier = NULL,
  metadataPrefix = "oai_dc", fuzzy = FALSE, brief = TRUE)

Arguments

provider

The metadata provider.

identifier

The OAI-PMH identifier for the record.

metadataPrefix

Specifies the metadata format that the records will be returned in.

fuzzy

Do fuzzy search or not (default FALSE). Fuzzy uses agrep.

brief

Give brief results (just a subset of columns)

Details

To query multiple different identifier's from a single provider, just pass in multiple identifiers like c("identifier1", "identifier2"). To query identifiers from different providers, just use separate calls to md_getrecord.

Author(s)

Scott Chamberlain [email protected]

See Also

md_identify, md_listidentifiers, md_listmetadataformats, md_listrecords, md_listsets, count_identifiers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# Single provider, one identifier
md_getrecord(provider = "pensoft", identifier = "10.3897/zookeys.1.10")

# Single provider, multiple identifiers
md_getrecord(provider = "pensoft", identifier = c("10.3897/zookeys.1.10","10.3897/zookeys.4.57"))

# More than one provider found - or just easier than typing in
# the whole provider name - Choose 15
md_getrecord(provider = "advances",
             identifier = "oai:ojs.www.academypublisher.com:article/5460",
             fuzzy=TRUE)

## End(Not run)

ropensci/rmetadata documentation built on May 16, 2018, 7:04 a.m.