Example water quality dataset (subset of real data)
Source:R/data_wq_demo.R, R/wq_buranhem.R
wq_demo.RdA small subset of real monitoring data used in examples and vignettes. Now includes extra columns rio, lat, lon.
This dataset contains real water quality measurements collected by INEMA (Instituto do Meio Ambiente e Recursos Hidricos, Bahia) during monitoring campaigns conducted between 2021 and 2024 in the Rio Buranhem watershed, municipality of Porto Seguro, Bahia, Brazil. The dataset was incorporated into the package for demonstration, reproducibility and methodological illustration, following the analytical workflow implemented in tikatuwq. Parameters include sampling dates, site identifiers and multiple physicochemical variables measured during field campaigns.
Format
A tibble/data.frame with 20 rows and 14 columns:
- rio
character, river name
- ponto
character, monitoring point id
- data
Date, sampling date
- ph
numeric, pH
- od
numeric, dissolved oxygen (mg/L)
- turbidez
numeric, NTU
- dbo
numeric, mg/L
- coliformes
numeric, MPN/100 mL
- p_total
numeric, total phosphorus (mg/L)
- nt_total
numeric, total nitrogen (mg/L)
- temperatura
numeric, degrees Celsius
- tds
numeric, total dissolved solids (mg/L)
- lat
numeric, latitude
- lon
numeric, longitude
A tibble/data.frame. See wq_demo documentation for column details.
Details
The dataset is a real subset selected from BURANHEM river (dataset-real.csv), used for reproducible examples and vignettes. Covers 4 monitoring points and years 2020–2024. All core columns for IQA/CONAMA/plotting helpers are present.
See also
iqa(), conama_check(), plot_series(),
plot_box(), plot_iqa(), plot_heatmap()
wq_demo
Examples
data("wq_demo", package = "tikatuwq")
head(wq_demo)
#> # A tibble: 6 × 14
#> rio ponto data ph od turbidez dbo coliformes p_total nt_total
#> <chr> <chr> <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 BURAN… FBS-… 2020-03-03 6.52 6.03 63.5 3 7.9 0.02 1
#> 2 BURAN… FBS-… 2022-03-10 6.97 6.52 18.3 3 9.2 0.04 1
#> 3 BURAN… FBS-… 2023-05-24 8.19 6.13 9 4 7.9 0.02 1
#> 4 BURAN… FBS-… 2024-02-20 7.55 5.96 112 3 1.7 0.08 1.9
#> 5 BURAN… FBS-… 2024-09-04 7.8 7.58 5.8 3 2.3 0.02 1
#> 6 BURAN… FBS-… 2020-03-04 6.39 6.7 11.4 7 1.3 0.03 1
#> # ℹ 4 more variables: temperatura <dbl>, tds <dbl>, lat <dbl>, lon <dbl>
# quick IQA example:
# iqa(wq_demo, na_rm = TRUE)