spod_get_data_dir: Get the data directory

View source: R/data-dir.R

spod_get_data_dirR Documentation

Get the data directory

Description

[Stable]

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 logical value indicating whether to suppress messages. Default is FALSE.

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()


spanishoddata documentation built on April 12, 2025, 1:24 a.m.