Learn R Programming

spanishoddata (version 0.2.0)

spod_get_data_dir: 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)

Value

A character vector of length 1 containing the path to the data directory where the package will download and convert the data.

Arguments

quiet

A logical value indicating whether to suppress messages. Default is FALSE.

Examples

Run this code
spod_set_data_dir(tempdir())
spod_get_data_dir()

Run the code above in your browser using DataLab