data_dir {SeaVal}R Documentation

Auxiliary function to access and change the directory used to load and save data.

Description

The package allows to download and organize CHIRPS data. This function specifies the directory where the data is stored. The first time this function is called, it asks the user to configure the directory.

Usage

data_dir(set_dir = FALSE)

Arguments

set_dir

logical. Set this to TRUE if you have to redefine your data directory.

Value

The current data directory as string.

Examples

if(interactive()){
data_dir()
}

[Package SeaVal version 1.2.0 Index]