Downloads a file from HCP S3 Bucket
download_hcp_file(
path_to_file,
destfile = NULL,
verbose = TRUE,
error = TRUE,
...
)
download_fcp_file(...)
download_openneuro_file(...)
path_to_file | Path to file on HCP S3 Bucket |
---|---|
destfile | Destination filename |
verbose | should progress be added to downloading? |
error | Should the function error if the return was bad? |
... | arguments to pass to |
Output filename that was downloaded
if (have_aws_key()){
path_to_file <- "HCP_900/100206/MNINonLinear/100206.164k_fs_LR.wb.spec"
download_hcp_file(path_to_file = path_to_file)
}