get_sites: Identify NERRS reserve stations from metadata

Description Usage Arguments Details Value Author(s)

View source: R/get_sites.R

Description

Identify the NERRS reserve sampling stations based on the metadata in the data file

Usage

1
2
3
4
5
6
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 ('wq', 'nut', or 'met')

active

logical. Should inactive stations be excluded? Defaults to TRUE

primary

logical. Should non-primary stations be excludes? Defaults to TRUE

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


padilla410/SWMPrExtension documentation built on Dec. 29, 2021, 5:48 a.m.