Learn R Programming

metScanR (version 1.2.3)

getTerritory: Filter environmental monitoring stations by state/territory

Description

Return metadata of environmental monitoring stations from a state/territory within the metScanR database.

Usage

getTerritory(territory, ...)

Arguments

territory

(character) state/territory abbreviation (e.g., 'RI'= Rhode Island, United States;'YT' = Yukon Territory, Canada)to filter environmental monitoring stations.

...

auto-populates when called from siteFinder() wrapper

Value

A list comprising metadata of environmental monitoring sites from state/territory specified in network

References

see reference links above

See Also

siteFinder mapResults metScanR_DB

Examples

Run this code
# NOT RUN {
#returns metadata from all stations within Rhode Island (RI)
  getTerritory(territory = "RI")
#returns metadata from stations within Colorado and Utah
  getTerritory(territory=c("CO","UT"))
# }

Run the code above in your browser using DataLab