survey: Survey the data to obtain the metrics necessary for the CALM

Description Usage Arguments Value

View source: R/survey.R

Description

Survey the data to obtain the metrics necessary for the CALM

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
survey(
  .id,
  .attaining_wqs,
  .attaining_75,
  .year,
  .water_type,
  .tmdl = FALSE,
  .ltco = FALSE,
  .pollutant = FALSE,
  .id_col_name
)

Arguments

.id

a vector that will be used to group the data.

.attaining_wqs

a logical vector indicating if an observation is attaining a water quality standard.

.attaining_75

a logical vector indicating if an observation is attaining the 75th percentile of a water quality standard.

.year

a numeric vector containg the year the observation was collected.

.tmdl

a vector. This is a place holder until this data is available.

.ltco

a vector. This is a place holder until this data is available.

.pollutant

a vector. This is a place holder until this data is available.

Value

A data frame.


BWAM/stayCALM documentation built on May 21, 2020, 3:24 p.m.