get_sites: Identify NERRS reserve stations from metadata

View source: R/get_sites.R

get_sitesR 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 ('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


SWMPrExtension documentation built on April 21, 2023, 1:14 a.m.