Skip to contents

Return path to the IDEEA extra-data directory

Usage

ideea_extra(subdir = NULL, filename = NULL, check = FALSE)

Arguments

subdir

character, the name or path to the sub-directory in the IDEEA-extra folder. File name will also be accepted. The path must be relative to the IDEEA external folder.

filename

character, the name of the file in the IDEEA-extra folder or subfolder if subdir is provided.

check

logical, if TRUE, the function will report error if the directory or file doesn't exist.

Value

character, the path to the IDEEA external data directory or file.

Examples

ideea_extra()
#> [1] "D:/Dropbox/projects/ideea_extra/"
ideea_extra("merra")
#> [1] "D:/Dropbox/projects/ideea_extra//merra"
ideea_extra("merra", "merra_raw_2019.fst")
#> [1] "D:/Dropbox/projects/ideea_extra//merra/merra_raw_2019.fst"