get_sites {SWMPrExtension} | R Documentation |
Identify NERRS reserve stations from metadata
Description
Identify the NERRS reserve sampling stations based on the metadata in the data file
Usage
get_sites(
data.file,
type = c("wq", "nut", "met"),
active = TRUE,
primary = TRUE
)
Arguments
data.file |
location of data |
type |
chr string of data station type ( |
active |
logical. Should inactive stations be excluded? Defaults to |
primary |
logical. Should non-primary stations be excludes? Defaults to |
Details
This function is intended for internal use with the NERRS reserve level reporting scripts. It returns the sampling stations associated with the data in the user-specified data folder.
Value
Returns a character vector of reserve stations
Author(s)
Julie Padilla
[Package SWMPrExtension version 2.2.5.1 Index]