Learn R Programming

rdryad (version 0.1.1)

dr_listidentifiers: Gets all OAI Dryad identifiers.

Description

Gets all OAI Dryad identifiers.

Usage

dr_listidentifiers(tor,
    url = "http://www.datadryad.org/oai/request", ...,
    curl = getCurlHandle())

Arguments

tor
Return list of identifiers to R ('r'), or to your directory at '~/.' ('dir') (character).
url
the base url for the function (should be left to default).
...
optional additional curl options (debugging tools mostly)
curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Value

  • List of OAI identifiers for each dataset.

Examples

Run this code
identifiers <- dr_listidentifiers('r')

# Data packages
identifiers[[1]]

# Data files
identifiers[[2]]

Run the code above in your browser using DataLab