Download OTN data extraction files from the MATOS website
Source:R/get_extract_file.R
get_extract_file.Rd
get_extract_file
downloads files from the MATOS website. This is best-used in
conjunction with list_extract_files
.
Usage
get_extract_file(
file = NULL,
project = NULL,
url = NULL,
out_dir = getwd(),
overwrite = FALSE,
to_vue = FALSE,
quiet = FALSE
)
Arguments
- file
A character vector listing the name of the file, or a numeric listing the index as found from
list_extract_files
.- project
A character vector listing the full name of the project, or a numeric listing the project number.
- url
The URL of the file to be downloaded.
- out_dir
Character. What directory/folder do you want the file saved into? Default is the current working directory.
- overwrite
Logical. Do you want a file with the same name overwritten? Passed to httr::write_disk.
- to_vue
Logical. Convert to VUE export format?
- quiet
Logical. Do you want to silence matos' updates? Default is FALSE.