README.md

GHRexplore

License CRAN status CRAN downloads total CRAN downloads month

Overview

GHRexplore is an R package for exploratory analysis of temporal and spatio-temporal health data including case counts, incidence rates, and covariates. It provides commonly used visualizations and supports standard data transformations such as temporal and spatial aggregations. The package also offers extensive customization options for the resulting figures. Currently available plotting functions include:

GHRexplore is one of the packages developed by the Global Health Resilience (GHR) team at the Barcelona Supercomputing Center (BSC) within the IDExtremes project. GHRexplore is the starting point for building INLA models for inference and forecasting of health impacts. It is complemented by the GHRmodel package, which is used to define, fit, and assess the models, and by GHRpredict, which focuses on generating out-of-sample predictions, conducting cross-validation analyses, and evaluating predictive performance. Both GHRmodel and GHRpredict are scheduled for release on CRAN in summer 2025.

Installation

# Install from CRAN
install.packages("GHRexplore")

# Get the development version from Gitlab
devtools::install_git('https://earth.bsc.es/gitlab/ghr/ghrexplore.git')

Usage

library("GHRexplore")

# Use data included in the package to plot a heatmap with spatial aggregation
data("dengue_MS")
plot_heatmap(data = dengue_MS,
             var = "dengue_cases",
             type = "inc",
             pop = "population",
             time = "date",          
             area = "micro_code",   
             aggregate_space = "meso_code",
             transform = "log10p1",
             title = "Dengue incidence in Brazil") 

Developers

Giovenale Moirano, PhD ORCID\ Barcelona Supercomputing Center\ Global Health Resilience

Carles Milà, PhD ORCID\ Barcelona Supercomputing Center\ Global Health Resilience

Anna B. Kawiecki, PhD ORCID\ Barcelona Supercomputing Center\ Global Health Resilience

Rachel Lowe, PhD ORCID\ Barcelona Supercomputing Center\ Global Health Resilience (Group leader)



Try the GHRexplore package in your browser

Any scripts or data that you put into this service are public.

GHRexplore documentation built on Sept. 9, 2025, 5:41 p.m.