GetSpringName: Get the name of a spring from the spring code

Description Usage Arguments Value

View source: R/utils.R

Description

Get the name of a spring from the spring code

Usage

1
GetSpringName(conn, path.to.data, spring.code, data.source = "database")

Arguments

conn

Database connection generated from call to OpenDatabaseConnection(). Ignored if data.source is "local".

path.to.data

The directory containing the csv data exports generated from SaveDataToCsv(). Ignored if data.source is "database".

data.source

Character string indicating whether to access data in the spring veg database ("database", default) or to use data saved locally ("local"). In order to access the most up-to-date data, it is recommended that you select "database" unless you are working offline or your code will be shared with someone who doesn't have access to the database.

spring

Spring code to get the name for, e.g. "LAKE_P_BLUE0".

Value

The name of the spring


nationalparkservice/mojn-sv-rpackage documentation built on Oct. 29, 2021, 7:13 p.m.