Package: tikatuwq
Type: Package
Title: Water Quality Assessment and Environmental Compliance in Brazil
Version: 0.11.0
Authors@R: c(
    person(
      given = "Vinicius",
      family = "Saraiva Santos",
      role = c("aut", "cre"),
      email = "vinisaraiva@gmail.com",
      comment = c(ORCID = "0009-0007-1387-7927")
    ),
    person(
      given = "Fabricio",
      family = "Berton Zanchi",
      role = "ctb",
      email = "fabricio.berton@ufsb.edu.br",
      comment = c(ORCID = "0000-0002-8074-2893")
    )
  )
Maintainer: Vinicius Saraiva Santos <vinisaraiva@gmail.com>
Description: Tools to import, clean, validate, and analyze freshwater quality data
    in Brazil. Implements water quality indices including the Water Quality Index
    ('WQI'/'IQA') using the weighted geometric mean following 'CETESB' methodology,
    an independent engine reproducing the 'IQA' of the Minas Gerais water agency
    'IGAM' (a documented reproduction, not endorsed by the agency), paired
    comparison of 'IQA' engines with compare_iqa(), the Trophic State Index ('TSI'/'IET') after Carlson (1977)
    <doi:10.4319/lo.1977.22.2.0361> and Lamparelli (2004)
    <https://teses.usp.br/teses/disponiveis/41/41134/tde-20032006-075813/publico/TeseLamparelli2004.pdf>,
    and the National Sanitation Foundation Water Quality Index ('NSF WQI', Brown
    (1970)). The package also checks compliance with Brazilian standard 'CONAMA'
    Resolution 357/2005
    <https://conama.mma.gov.br/?id=450&option=com_sisconama&task=arquivo.download>
    including the legal frequency rule (Art. 15, 80% conformity over six or more
    samples per year), and provides seasonal analysis with regional flow-season
    calendars, pollutant load computation, exceedance probability estimation, 'IET'
    visualization, and multivariate 'PCA' tools for routine monitoring workflows.
    The example dataset ('wq_demo') is a real subset from 'INEMA' monitoring data
    from a river in Bahia, Brazil (2020-2024).
License: MIT + file LICENSE
Encoding: UTF-8
Language: en-US
LazyData: true
LazyDataCompression: xz
Depends: R (>= 4.1)
Imports: dplyr, readr, tibble, rlang, stats, utils, ggplot2, tidyr,
        lubridate, stringr, glue, scales, broom, purrr, tools
Suggests: testthat (>= 3.0.0), spelling, rmarkdown, knitr, pkgdown,
        leaflet, withr
VignetteBuilder: knitr
URL: https://github.com/tikatuwq/tikatuwq,
        https://tikatuwq.github.io/tikatuwq/
BugReports: https://github.com/tikatuwq/tikatuwq/issues
Config/testthat/edition: 3
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-10-16 22:33:24 UTC; Vini
Author: Vinicius Saraiva Santos [aut, cre] (ORCID:
    <https://orcid.org/0009-0007-1387-7927>),
  Fabricio Berton Zanchi [ctb] (ORCID:
    <https://orcid.org/0000-0002-8074-2893>)
Repository: CRAN
Date/Publication: 2026-10-17 22:40:02 UTC
