download_hcp_file: Download HCP file
Description
Downloads a file from HCP S3 Bucket
Usage
download_hcp_file(
path_to_file,
destfile = NULL,
verbose = TRUE,
error = TRUE,
...
)download_fcp_file(...)
download_openneuro_file(...)
Value
Output filename that was downloaded
Arguments
- 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 hcp_aws_url
Examples
Run this codeif (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)
}
Run the code above in your browser using DataLab