Package 'cd2030.vaxx'

Title: The Countdown to 2030 Vaxx App
Description: The Countdown to 2030 Vaxx Shiny app: load and check a country's health facility data, choose denominators, analyse immunization coverage, dropout and equity, and build reports. 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:49 UTC
Source: https://github.com/damurka/cd2030.vaxx

Help Index


Run the Vaxx app

Description

The Countdown Vaxx app: the Load Data wizard, the data quality, denominator and analysis pages, and the report builder. DataSuite starts it with its settings in environment variables (CDSUITE_SHINY_NAME, ⁠_VERSION⁠, ⁠_LOCALE⁠, ⁠_SELECTED_FILE⁠); they can be given as arguments instead.

Usage

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

Arguments

selected_file

A dataset to open (DataSuite's CDSUITE_SHINY_SELECTED_FILE), or NA.

language

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

app_name, app_version

The name and version shown in the header.

...

Passed to shiny::shinyApp()'s options (e.g. port, launch.browser).

Value

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