getWQ | R Documentation |
Downloads and lightly processes DBHYDRO water quality data.
getWQ(stn = "S333", parameters = c("PHOSPHATE, TOTAL AS P|TURBIDITY"),
removeFlaggedData = TRUE, outputType = "wide")
stn |
character string. Case insensitive. |
parameters |
a grep-style character string identifying water quality parameters to report. Set to NA to report all available parameters. Partial matches are made (e.g., "TURB" and "TURBIDITY" will both yield turbidity data) |
removeFlaggedData |
Logical. Indicates whether flagged data should be removed |
outputType |
output type can be "full", "long", or "wide". "full" is a long dataset with all samples (possibility of multiple samples on a single day). "long" and "wide" average duplicate samples and are either long datasets (one column with parameter names and one column with parameter values) or wide datasets (one column of values for each parameter). The "long" form reports more information (units, MDL, PQL, RDL) than the "wide" form, which only reports values for each parameter. |
dataframe getWQ
returns a dataframe of data
## Not run:
longDat <- getWQ(stn = "s333", outputType = "long")
wideDat <- getWQ(stn = "s333", outputType = "wide")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.