Clean water quality data from most typical issues
Arguments
- df
dataframe with water quality data with with columns c("Station", "DATE", "Variables", "Values", "Source").
- zero_to_min
numeric coefficient to zeros by min variable value X zero_to_min. Optional, default 1.
Examples
temp_path <- system.file("extdata", "calibration_data.xlsx", package = "svatools")
cal_data <- load_template(temp_path)
#> [1] "Loading data from template."
#> [1] "Loading of data is finished."
cal_data$data <- clean_wq(cal_data$data)