Package: DSIR 0.8.0

Shanlong Ding

DSIR: Data Science Infrastructure for Global Health

Supports global health data analysis, including a publication-ready 'ggplot2' theme, a 'flextable' defaults helper, a thin pie chart wrapper, built-in regional country-code datasets with a WHO region lookup helper, a geometric mean function for indicator aggregation, an average annual rate of reduction function for indicator progress tracking, and convenience clients for the World Health Organization Global Health Observatory (GHO) OData API <https://ghoapi.azureedge.net/api/> and the United Nations Sustainable Development Goals (SDG) API <https://unstats.un.org/SDGAPI/swagger/>.

Authors:Shanlong Ding [aut, cre]

DSIR_0.8.0.tar.gz
DSIR_0.8.0.tar.gz(r-4.7-any)DSIR_0.8.0.tar.gz(r-4.6-any)
DSIR_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
DSIR/json (API)

# Install 'DSIR' in R:
install.packages('DSIR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/shanlong-who/dsir/issues

Pkgdown/docs site:https://shanlong-who.github.io

Datasets:
  • afro_cty - WHO regional Member State ISO3 vectors
  • amro_cty - WHO regional Member State ISO3 vectors
  • emro_cty - WHO regional Member State ISO3 vectors
  • euro_cty - WHO regional Member State ISO3 vectors
  • pic_cty - Pacific Island Country ISO3 codes
  • searo_cty - WHO regional Member State ISO3 vectors
  • who_countries - WHO Member States with regional and Pacific classifications
  • wpro_cty - WHO regional Member State ISO3 vectors

On CRAN:

Conda:

3.48 score 471 downloads 26 exports 69 dependencies

Last updated from:8c745f5442. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK231
source / vignettesOK292
linux-release-x86_64OK227
wasm-releaseOK156

Exports:aarrbind_indicatorsdsi_flextable_defaultsgeomeanggpiegho_cleangho_countgho_coveragegho_datagho_dimensionsgho_has_datagho_indicatorsiso3_to_m49iso3_to_regionm49_to_iso3scale_x_dsi_colscale_y_dsi_colsdg_areassdg_cleansdg_coveragesdg_datasdg_goalssdg_indicatorssdg_targetstheme_dsitheme_dsi_facet

Dependencies:askpassbase64encbslibcachemclicpp11curldata.tabledigestdplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggplot2gluegtablehighrhtmltoolshttr2isobandjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimeofficeropensslpillarpkgconfigpurrrR6raggrappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytexutf8uuidvctrsviridisLitewithrxfunxml2yamlzip

Visualizing indicators
Example data | Trend lines with a confidence band | Breakdowns from dim1 / dim2 / dim3 | Forest-style country comparison | Dumbbell progress plot | Tracking progress with aarr()

Last update: 2026-07-02
Started: 2026-07-02

DSIR
WHO Member State metadata | Checking availability before fetching | Fetching indicator data from GHO | Step 1: Search for an indicator | Step 2: Fetch the data | Step 3: Clean the raw response | Aggregating indicators with geomean() | Plotting with theme_dsi() and theme_dsi_facet() | Single panel: theme_dsi() | Faceted: theme_dsi_facet() | Tables with dsi_flextable_defaults() | Working with SDG indicators | Combining GHO and SDG with bind_indicators() | Exploring series with sdg_coverage() | Where to next

Last update: 2026-05-21
Started: 2026-05-21