nhdplusTools_data_dir: Get or set nhdplusTools data directory

View source: R/A_nhdplusTools.R

nhdplusTools_data_dirR 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"))


nhdplusTools documentation built on June 22, 2024, 10:36 a.m.