cvparks: cvparks

Description Usage Arguments Value

View source: R/cvparks.R

Description

Returns the name, park code and other data for I&M parks with data available through the NPS common view

Usage

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

Arguments

fetch

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

"code"

The default. Returns the four letter code of the park

"name"

Returns the full name of the park

"full"

Returns the Park code, Park name, the network code and the network name.

"all"

Returns all data from the "Park" table of the common view as well as the network name and code.

network

A network four letter code in quotes. Only data on parks in that network 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

Eithter a vector with park codes or names, or a data.frame with all network data.


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