nhdplusTools_data_dir {nhdplusTools}R Documentation

Get or set nhdplusTools data directory

Description

if left unset, will return the user data dir as returned by 'tools::R_user_dir' for this package.

Usage

nhdplusTools_data_dir(dir = NULL)

Arguments

dir

path of desired data directory

Value

character path of data directory (silent when setting)

Examples

nhdplusTools_data_dir()

nhdplusTools_data_dir("demo")

nhdplusTools_data_dir(tools::R_user_dir("nhdplusTools"))


[Package nhdplusTools version 1.2.1 Index]