Learn R Programming

rdryad (version 0.4.0)

dryad_metadata: Download Dryad file metadata

Description

Download Dryad file metadata

Usage

dryad_metadata(doi, ...)

Arguments

doi

(character) A Dryad DOI for a dataset of files within a dataset

...

Further args passed on to crul::HttpClient

Value

named (list) with slots for:

  • desc: object metadata

  • files: file information

  • attributes: metadata about the metadata file

  • structMap: not sure what this is

Examples

Run this code
# NOT RUN {
dryad_metadata('10.5061/dryad.1758')
dryad_metadata('10.5061/dryad.9t0n8/1')
dryad_metadata('10.5061/dryad.60699/3')
out <- dryad_metadata('10.5061/dryad.60699/5')
out$desc$text[out$desc$qualifier %in% c("pageviews", "downloads")]
# }

Run the code above in your browser using DataLab