The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
R package for water quality analysis in the Brazilian context: WQI (IQA), TSI (Carlson/Lamparelli), NSFWQI, CONAMA 357/2005 limits, visualizations, reports, and automatic rule-based text generation.
📄 Leia em Português
install.packages(c("devtools","testthat","rmarkdown","ggplot2","dplyr","tidyr",
"readr","lubridate","stringr","glue","scales","broom","purrr"))
::load_all("tikatuwq")
devtools::check("tikatuwq") devtools
<- read_wq(system.file("extdata","exemplo_chamagunga.csv", package="tikatuwq")) |>
df validate_wq() |>
iqa(na_rm = TRUE)
plot_iqa(df)
# Rule-based analytical text (no AI)
<- generate_analysis(df, classe_conama = "2",
pars incluir_tendencia = TRUE,
parametros_tendencia = c("turbidez","od","pH"),
contexto = list(river="Chamagunga", period="2025-07"))
cat(paste(pars, collapse = "\n\n"))
generate_analysis()
documentation.id_cols
and
filter
to match the current function signature.README-pt.md
with an absolute HTTPS URL.plot_trend()
for temporal trend analysis:
ggplot
object, ready for visualization or
inclusion in reports.tikatuwq-package.Rd
for R-devel
compatibility.plot_map()
for spatial visualization of
sampling points.generate_analysis()
— automatic rule-based
paragraphs.iet_lamparelli()
and
nsfwqi()
.install.packages("remotes") # or devtools
::install_github("tikatuwq/tikatuwq", dependencies = TRUE)
remotes
# Stable release (by tag)
::install_github("tikatuwq/tikatuwq@v0.5.1", build_vignettes = TRUE) remotes
<- read_wq(system.file("extdata","exemplo_chamagunga.csv", package="tikatuwq"))
df
# Table with only violations, ready for reports
conama_report(df, "2", only_violations = TRUE, pretty = TRUE)
# Short textual summary
cat(paste(conama_text(df, "2", only_violations = TRUE), collapse = "\n"))
read_wq(path)
— read water quality data (CSV).validate_wq(df)
— validate/normalize columns and
units.iqa(df, na_rm = TRUE, ...)
— Water Quality Index
(CETESB/NSF).iet_carlson(df)
/ iet_lamparelli(df)
—
Trophic State Index.nsfwqi(df)
— NSFWQI (structure ready).conama_limits(classe)
— limits from CONAMA Resolution
357/2005.conama_check(df, classe)
— compliance by parameter
(*_ok).plot_iqa()
, plot_series()
,
plot_box()
, plot_heatmap()
,
plot_map()
.generate_analysis()
,
render_report()
.system.file("extdata", "exemplo_chamagunga.csv", package = "tikatuwq")
.citation("tikatuwq")
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.