lupa: Data Profiling and Quality Measurement

Profiles tabular data and measures its quality. Discovers structural patterns, implicit types, mixed date formats and reusable findings about potential data issues; defines quality frameworks with user-declared dimensions, reusable metrics with explicit granularity and typed aggregation; keeps versioned histories and detects structural drift; writes self-contained HyperText Markup Language reports; and produces editable cleaning plans that apply only the actions the user selects, with an audit log. The general model follows Batini and Scannapieco (2016) <doi:10.1007/978-3-319-24106-7>. The package implements version 1.6 of the data quality management framework for digital government of the Uruguayan Agency for Electronic Government and Information and Knowledge Society, AGESIC (2020) <https://www.gub.uy/agencia-gobierno-electronico-sociedad-informacion-conocimiento/comunicacion/publicaciones/marco-trabajo-para-gestion-calidad-datos>; an optional taxonomy of the fifteen characteristics of the standard 25012 of the International Organization for Standardization and the International Electrotechnical Commission, ISO/IEC (2008) <https://www.iso.org/standard/35736.html>; and the four levels and nineteen principles of the national quality assurance framework of the United Nations (2019) <https://unstats.un.org/unsd/methodology/dataquality/>, as adapted for Latin America and the Caribbean by the Statistical Conference of the Americas of the Economic Commission for Latin America and the Caribbean, CEA-CEPAL (2022) <https://repositorio.cepal.org/handle/11362/47464>. AGESIC, CEA and CEPAL are the Spanish acronyms of these institutions.

Version: 0.1.0
Depends: R (≥ 4.2.0)
Imports: cli (≥ 3.0.0), data.table
Suggests: bit64 (≥ 4.6.0), covr, DBI, duckdb, jsonlite, knitr, odbc, rmarkdown, RPostgres, RSQLite, sf, stringdist, stringi, testthat (≥ 3.1.7), tibble, units
Published: 2026-11-10
DOI: 10.32614/CRAN.package.lupa (may not be active yet)
Author: Sebastián Lucas ORCID iD [aut, cre, cph], Robyn Speer [ctb, cph] (byte tables, character categories, regular expressions and repair functions of the encoding-repair engine, translated from ftfy 6.3.1 (Apache-2.0)), Nicholas Tierney [ctb, cph] (missing-value sentinel values from naniar 1.1.0 (MIT))
Maintainer: Sebastián Lucas <sebalucas at gmail.com>
BugReports: https://github.com/sebollin/lupa/issues
License: GPL-3
Copyright: Parts of the encoding-repair engine are translated from ftfy 6.3.1, copyright 2023 Robyn Speer (Apache-2.0); the missing-value sentinels come from naniar 1.1.0, copyright 2016-2018 Nicholas Tierney (MIT). All other code is copyright 2026 Sebastián Lucas. See file inst/COPYRIGHTS.
lupa copyright details
URL: https://github.com/sebollin/lupa, https://sebollin.github.io/lupa/
NeedsCompilation: no
Language: es
Citation: lupa citation info
Materials: README, NEWS
CRAN checks: lupa results

Documentation:

Reference manual: lupa.html , lupa.pdf
Vignettes: 4. Estructura no declarada (source, R code)
3. Explorar columnas con 'analizar()' (source, R code)
2. Leer un perfil (source, R code)
6. Limpiar con un plan (source, R code)
1. Empezar en diez minutos (source, R code)
5. El vacío por diseño (source, R code)

Downloads:

Package source: lupa_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): lupa_0.1.0.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lupa to link to this page.