download_hcp_file {neurohcp} | R Documentation |
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(...)
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 |
Value
Output filename that was downloaded
Examples
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)
}
[Package neurohcp version 0.9.0 Index]