Learn R Programming

EGRET (version 3.0.9)

processQWData: Processing of Water Quality Data

Description

Processes water quality data. This function looks at detection limit and detection conditions to determine if a value is left censored or not. Censored values are given the qualifier "<". The dataframe is also converted from a long to wide format.

Usage

processQWData(data)

Value

data dataframe with first column dateTime, and at least one qualifier and value columns (subsequent qualifier/value columns could follow depending on the number of parameter codes)

Arguments

data

dataframe from Water Quality Portal

See Also

readWQPqw

Examples

Run this code
# \donttest{
#library(dataRetrieval)
 
#rawWQP <- readWQPqw('21FLEECO_WQX-IMPRGR80','Phosphorus', '', '')
#Sample2 <- processQWData(rawWQP)
# }

Run the code above in your browser using DataLab