Learn R Programming

neurohcp (version 0.6)

download_hcp_dir: Download an entire directory from HCP

Description

Downloads a directory/folder from HCP database

Usage

download_hcp_dir(prefix, delimiter = "", outdir = tempfile(),
  verbose = TRUE, ...)

download_fcp_dir(...)

Arguments

prefix
Folder to downlaod
delimiter
Delimiter for files
outdir
Output directory
verbose
Should diagnostic values be printed?
...
additional arguments to pass to hcp_list_files

Value

List of return from calling hcp_list_files, the output directory, and all destination files (not subsetted by those that did in fact download)

Examples

Run this code
if (have_aws_key()) {
   prefix = "HCP/100307/release-notes"
   res = download_hcp_dir(prefix = prefix)
}

Run the code above in your browser using DataLab