count_identifiers {oai} | R Documentation |
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 |
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
## Not run:
count_identifiers()
# curl options
# library("httr")
# count_identifiers(config = verbose())
## End(Not run)
[Package oai version 0.4.0 Index]