# NOT RUN {
# Single file
x <- dryad_files('10.5061/dryad.1758')
## without specifying a destination file
dryad_fetch(url = x)
## specify a destination file
dryad_fetch(url = x, (f <- tempfile(fileext = ".csv")))
# Many files
x <- dryad_files(doi = '10.5061/dryad.60699')
res <- dryad_fetch(x)
head(read.delim(res[[1]], sep = ";"))
# }
Run the code above in your browser using DataLab