oai (version 0.2.2)

list_identifiers: List OAI-PMH identifiers

Description

List OAI-PMH identifiers

Usage

list_identifiers(url = "http://oai.datacite.org/oai", prefix = "oai_dc",
  from = NULL, until = NULL, set = NULL, token = NULL, as = "df", ...)

Arguments

url

(character) OAI-PMH base url

prefix

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

from

specifies that records returned must have been created/update/deleted on or after this date.

until

specifies that records returned must have been created/update/deleted on or before this date.

set

specifies the set that returned records must belong to.

token

a token previously provided by the server to resume a request where it last left off.

as

(character) What to return. One of "df" (for data.frame; default), "list", or "raw" (raw text)

...

Curl options passed on to GET

Examples

Run this code
# NOT RUN {
# from
recently <- format(Sys.Date() - 1, "%Y-%m-%d")
list_identifiers(from = recently)

# from and until
list_identifiers(from = '2011-06-01T', until = '2011-07-01T')

# longer time span
list_identifiers(from = '2011-06-01T', until = '2011-09-01T')

# set parameter - here, using ANDS - Australian National Data Service
list_identifiers(from = '2011-09-01T', until = '2012-09-01T', set = "ANDS")
# }

Run the code above in your browser using DataLab