download_nv_collection_images: Download Neurovault Collections Images

Description Usage Arguments Value Examples

View source: R/download_nv_collection_images.R

Description

Download Neurovault Collections Images

Usage

1
2
3
4
5
6
7
download_nv_collection_images(
  id,
  verbose = TRUE,
  outdir = tempfile(),
  overwrite = TRUE,
  ...
)

Arguments

id

id of the collection

verbose

print diagnostic messages

outdir

output directory for images

overwrite

Will only overwrite existing file if TRUE.

...

additional options to pass to GET

Value

A data.frame of the image information and their output filenames

Examples

1
2
3
4
5
6
7
8
9
res = nv_collection_images(id = 77)

if (.Platform$OS.type != "windows") {
  res = download_nv_collection_images(id = 77, verbose = 2)
} else {
if (requireNamespace("curl", quietly = TRUE)) {
   print(curl::curl_version())
}
}

neuroconductor-releases/neurovault documentation built on Nov. 14, 2020, 11:59 p.m.