MyNixOS website logo
Description

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>.

data4health Harmonize logo BSC logo

License: AGPL v3 GitHubcontributors commits

Overview

data4health logo

data4health is a tool developed as part of the HARMONIZE project to facilitate the cleaning, filtering, and aggregation of health data at customised spatiotemporal resolutions. Originally designed for data from Brazil, Colombia, the Dominican Republic, and Peru, the tool is adaptable for any linelist health data.

data4health flowchart

The R package offers two modes of operation based on the user's coding experience:

  • For users with coding experience: A wide range of functions can be directly used within R.
  • For non-coding users: A graphical user interface (GUI) guides users through the data processing pipeline in an intuitive, user-friendly way.

Key features of the R Package:

  • Instructions on how to access health data
  • Functions for cleaning and preprocessing health data
  • Spatial harmonisation, allowing aggregation to any coarser administrative unit
  • Temporal harmonisation, enabling aggregation to epidemiological weeks, months or years
  • Data visualization capabilities
  • Output as a .csv file, formatted to meet user-specified requirements

Installation

The latest version of the data4health package is hosted on CRAN and can by installed using the following commands:

install.packages("data4health")
library(data4health)

How to use it

There are two main functionalities of data4health.

For code-experienced users, a series of functions to support health data analysis are provided that users can implement to simplify their existing data pipeline. An overview over how to make use of them can be found in the Overview vignette.

Users with less code experience can employ the graphic user interface to clean and aggregate their data in a user-friendly way by typing the following command and waiting for the a browser window to open:

d4h_ui()

Roadmap:

Future functionalities of data4health include:

  • d4h_clean_helper function: gives suggestions about how to best clean the data, e.g. proposes misspelled categories, which columns to transform, etc.
  • report function: allows the user to produce interactive/static reports of the aggregated health data

If you have any needs, or suggestions for new functions or new functionalities of current functions, please do not hesitate to create an issue. See CONTRIBUTING.md for details on how to contribute or get in touch.

Resources

Package website

The data4health website includes detailed guides for each function, example workflows using reported disease cases and instructions on how to access health data.

Project website

HARMONIZE is an international consortium co-creating cost-effective and reproducible digital tools for stakeholders in hotspots affected by a changing climate in Latin America & the Caribbean (LAC), including cities, small islands, highlands, and the Amazon rainforest.

The HARMONIZE digital toolkits will allow local researchers and users, including national disease control programs, to link, interrogate and use multi-scale spatiotemporal data, to understand the links between environmental change and infectious disease risk in their local context, and to build robust early warning and response systems in low-resource settings.

The project offers resources and tools developed in conjunction with different teams from Brazil, Colombia, Dominican Republic, Peru and Spain.

Other HARMONIZE tools

Within HARMONIZE, each data category has its own digital toolkit to allow local researchers and users, to prepare, interrogate and eventually merge the data spatially and temporally, to understand the links between environmental change and infectious disease risk in their local context, and to build robust early warning and response systems in low-resource settings. The other HARMONIZE toolkits include:

Organizations

BSC logoGHR
Global Health Resilience

Developers

Daniela LührsenORCID
Barcelona Supercomputing Center (BSC), Spain

Raquel Martins Lana, PhDORCID
Barcelona Supercomputing Center (BSC), Spain

Carles Milà, PhDORCID
Barcelona Supercomputing Center (BSC), Spain

Rachel Lowe, PhDORCID
Barcelona Supercomputing Center (BSC), Spain
Catalan Institution for Research and Advanced Studies (ICREA), Spain.

Metadata

Version

0.1.1

License

Unknown

Platforms (79)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    wasip1
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasip1
  • wasm64-wasip1
  • x86_64-cygwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows