getChars: getChars

getCharsR Documentation

getChars

Description

Retrieves one or more Characteristic objects from a Site object or a list of such objects. The Site object can be contained within a Park object.

Usage

getChars(object, parkcode = NA, sitecode = NA, charname = NA, category = NA)

Arguments

object

One of a Characteristic object, a Site object, a Park object or a list of such objects.

parkcode

One or more parkcodes, in quotes. If object is a Park object or a list of Park objects, then the parkcode argument can be used to select which sites should be used.

sitecode

One or more sitecodes, in quotes. If object is a Park object or a list of Park or Site objects, then the sitcode argument can be used to select which sites should be used.

charname

Name of one or more characteristics, in quotes. Only those characteristics will be returned.

category

One or more categories of characteristics, in quotes. Only those categories of characteristics will be returned.

Value

A list of one or more Characteristic objects.


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