getSites: getSites

getSitesR Documentation

getSites

Description

Retrieves sites from a Park object or a list of such objects.

Usage

getSites(object, parkcode = NA, sitecode = NA, type = NA)

Arguments

object

Either a Park object or a list of such objects.

parkcode

Park code of one or more parks, in quotes.

sitecode

Site code of one or more sites, in quotes.

type

Type of site, such as Lake or Stream, in quotes.

Value

A list of one or more site objects. If parkcode and/or sitecode are specified then only sites which match those codes will be returned. If there are no such sites then the function will return NULL


NCRN/NCRNWater documentation built on May 15, 2023, 9:50 p.m.