Package 'cd2030.pooled'

Title: The Countdown to 2030 Pooled App
Description: The Countdown to 2030 Pooled Shiny app: build one file from several countries' saved datasets, then explore it, compare countries and export tables. Run it with run_app().
Authors: David Kariuki [aut, cre] (ORCID: <https://orcid.org/0009-0003-6159-1107>), African Population and Health Research Center (APHRC) [cph, fnd]
Maintainer: David Kariuki <[email protected]>
License: AGPL (>= 3)
Version: 2.0.15
Built: 2026-10-12 11:09:26 UTC
Source: https://github.com/damurka/cd2030.pooled

Help Index


Run the Pooled app

Description

Build one file from several countries' saved datasets, then explore it and export tables. DataSuite starts it with its settings in environment variables (CDSUITE_SHINY_NAME, ⁠_VERSION⁠, ⁠_LOCALE⁠, and ⁠_SELECTED_FILE⁠: a folder of saved datasets); they can be given as arguments instead.

Usage

run_app(
  pre_loaded_dir = Sys.getenv("CDSUITE_SHINY_SELECTED_FILE", unset = NA),
  language = Sys.getenv("CDSUITE_SHINY_LOCALE", unset = "en"),
  app_name = Sys.getenv("CDSUITE_SHINY_NAME", unset = "Pooled"),
  app_version = Sys.getenv("CDSUITE_SHINY_VERSION", unset =
    as.character(utils::packageVersion("cd2030.pooled")))
)

Arguments

pre_loaded_dir

A folder of saved datasets (.rds) to start from, or NA.

language

The starting language: "en", "fr" or "pt".

app_name, app_version

The name and version shown in the header.

Value

A Shiny app object: printing it (or shiny::runApp()) runs it.