data4health: A Practical Workflow for Health Data Wrangling

Provides a streamlined workflow for cleaning, transforming, filtering, aggregating, and exporting epidemiological line list data. The package is designed for public health surveillance and clinical datasets where each row represents an individual case. It supports common data-wrangling tasks and multi-format data import/export (e.g., 'csv', 'rds', 'xlsx', 'json', 'dbf'). The functions are designed to be combined into a clear and reproducible pipeline while remaining flexible enough for use in standalone data-processing steps. 'data4health' is part of the '4health' toolkit, which integrates health, climate, land-use, and socioeconomic data workflows. More information on the '4health' tools can be found on the HARMONIZE website <https://harmonize-tools.org/toolkits>.

Version: 0.1.1
Depends: R (≥ 4.2.0)
Imports: foreign, readxl, writexl, shiny, jsonlite, GHRexplore, lubridate, plotly, shinyAce
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), shinytest2, withr
Published: 2026-07-07
DOI: 10.32614/CRAN.package.data4health (may not be active yet)
Author: Daniela Lührsen ORCID iD [aut, cre], Carles Milà ORCID iD [aut], Raquel Lana ORCID iD [aut], Rachel Lowe ORCID iD [aut], Mark Adler [cph] (Author of src/blast.c), Daniela Petruzalek [cph] (Author of src/dbc2dbf.c, see github.com/danicat/read.dbc)
Maintainer: Daniela Lührsen <daniela.luhrsen at bsc.es>
BugReports: https://gitlab.earth.bsc.es/ghr/data4health/-/issues
License: AGPL (≥ 3)
URL: https://bsc-es.github.io/GHRtools/docs/data4health/data4health.html
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: data4health results

Documentation:

Reference manual: data4health.html , data4health.pdf
Vignettes: How to access Health Data (source, R code)
Getting Started with data4health: A Practical Workflow for Health Data Wrangling (source, R code)

Downloads:

Package source: data4health_0.1.1.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): not available, r-oldrel (x86_64): not available

Linking:

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