This function retrieves the data directory from the environment variable SPANISH_OD_DATA_DIR (and previously set by spod_set_data_dir()).
If the environment variable is not set, it returns the temporary directory.
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())
#> Data directory is writeable.
#> Data directory successfully set to: /tmp/RtmpQpjQEX
spod_get_data_dir()
#> /tmp/RtmpQpjQEX
