oai (version 0.3.0)

count_identifiers: Count OAI-PMH identifiers for a data provider.

Description

Count OAI-PMH identifiers for a data provider.

Usage

count_identifiers(url = "http://export.arxiv.org/oai2",
  prefix = "oai_dc", ...)

Arguments

url

(character) OAI-PMH base url. Defaults to the URL for arXiv's OAI-PMH server (http://export.arxiv.org/oai2) or GBIF's OAI-PMH server (http://api.gbif.org/v1/oai-pmh/registry)

prefix

Specifies the metadata format that the records will be returned in

...

Curl options passed on to GET

Details

Note that some OAI providers do not include the entry completeListSize (http://www.openarchives.org/OAI/openarchivesprotocol.html#FlowControl) in which case we return an NA - which does not mean 0, but rather we don't know.

Examples

Run this code
# NOT RUN {
count_identifiers()

# curl options
# library("httr")
# count_identifiers(config = verbose())
# }

Run the code above in your browser using DataLab