Download entire session or just the files from a particular
scan type. If scan_type is NULL the function will download a zipped
file containing the entire resource folder for that particular subject_ID
or session_ID. If scan_type is specified than depending on the
zipped the downloaded files will be zipped or not.
download_nitrc_dir(
session_ID = NULL,
subject_ID = NULL,
project = NULL,
scan_type = NULL,
zipped = FALSE,
verbose = FALSE,
error = FALSE
)Downoad scan images for this particular session ID
Download scan images for this particular subject ID
The project dataset to whom subject_ID belongs to.
This is required if subject_ID is specified
Download scan images just for this particular type of scan
Zip the downloaded files
Should progress be added to download?
Should function error if download failed?
List of downloaded file(s) with full paths
## Download the full directory (individual files) of T1 data
if (FALSE) t1_res <- download_nitrc_dir("NITRC_IR_E10453", scan_type="T1") # \dontrun{}
## Download a zipped file containing the full directory
if (FALSE) download_nitrc_dir("NITRC_IR_E10453", scan_type="T1", zipped = TRUE) # \dontrun{}