View source: R/standardize-wqdata.R
standardize_wqdata | R Documentation |
Standardizes a water quality data set using substitute_variables
and substitute_units
so that all remaining values have the
recognised codes and variables in codes
and the standard
units. If column Code is present then a Variable column is created using
lookup_variables
. The standardize_wqdata
function
is called by clean_wqdata
prior to cleaning.
standardize_wqdata( x, strict = TRUE, messages = getOption("wqbc.messages", default = TRUE) )
x |
A data.frame to standardize. |
strict |
A flag indicating whether to require all words in a recognised variable name to be present in x (strict = TRUE) or only the first one (strict = FALSE) \lifecyclesoft-deprecated. |
messages |
A flag indicating whether to print messages. |
clean_wqdata
standardize_wqdata(wqbc::dummy, messages = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.