spod_get_data_dir {spanishoddata} | R Documentation |
Get the data directory
Description
This function retrieves the data directory from the environment variable SPANISH_OD_DATA_DIR. If the environment variable is not set, it returns the temporary directory.
Usage
spod_get_data_dir(quiet = FALSE)
Arguments
quiet |
A |
Value
A character
vector of length 1 containing the path to the data directory where the package will download and convert the data.
Examples
spod_set_data_dir(tempdir())
spod_get_data_dir()
[Package spanishoddata version 0.2.0 Index]