cvsites: cvsites

Description Usage Arguments Value

View source: R/cvsites.R

Description

Returns the name, site code and other data for monitoring sites with data avaialable through the NPS common view

Usage

1
cvsites(fetch = "code", network = NA, park = NA, data = "water")

Arguments

fetch

Indicates what you wish to retrive from the common view data service. Options are:

"code"

The default. Returns the code for the site

"name"

Returns the full name of the site

"full

Returns the: site name, site code, network code, network name, park code, park name, USGS site code, USGS nearest site code, site type, site latitude, site longitude, and description.

"all"

Returns all data from the "Site" table of the common view.

network

A network four letter code in quotes. Only data on parks in that network will be returned.

park

A park four letter code in quotes. Only data from that park will be returned.

data

Indicates the type of data you are interesed in. Currently has no function as only water monitoring data can be retrieved.

Value

Either a vector with site codes or names, or a data.frame with all network data.


NCRN/npscv documentation built on May 7, 2019, 6 p.m.