View source: R/download_nitrc_file.R
download_nitrc_file | R Documentation |
Download a single file from NITRC
download_nitrc_file( file_path, destfile = NULL, prefix = NULL, verbose = FALSE, error = FALSE )
file_path |
Path to the file to be dowloaded |
destfile |
Destination filename |
prefix |
Prefix the file name with this (prevents overwritting of same name files in case function is used to download multiple scan types at once) |
verbose |
Should progress be added to download? |
error |
Should function error if download failed? |
Display path to the downloaded file
## file_path is retrieved using the get_scan_resources() function ## Not run: r <- get_scan_resources('NITRC_IR_E10453') ## Not run: download_nitrc_file(r$URI[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.