convertFqw | R Documentation |
Converts information from data of class "qw" to separate columns representing the data in
the "qw" columns. This can facilitate transfer to other systems or editing the meta data
in a "qw" column. Uses as.data.frame(object of class qw, expand=TRUE)
to convert each
"qw" column.
convertFqw(data, columns = "")
data |
a data frame that contains limited sample information. |
columns |
a character vector listing the names of the columns to convert. If a single empty character string, the default, then convert all "qw" columns. |
A data frame of the converted water-quality data and all other columns in the original dataset.
This function can be used in conjunction with convert2qw
to update or
modify reporting levels or inspect the details of the meta data.
Lorenz, D.L., 2014, USGSwsQW OFR.
See information about discrete
samples at https://nwis.waterdata.usgs.gov/usa/nwis/qw.
readNWISqw
, convert2qw
# Make a dummy partial dataset tmp.dum <- data.frame(sta=c("A", "B"), Val=c(1, 1.2), Val.rmk=c("<", ""), Val.dl=c(1, 1), stringsAsFactors=FALSE) tmp.qw <- convert2qw(tmp.dum, scheme="partial") # Expand the result convertFqw(tmp.qw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.