{
  "_id": "6a11ab1bacfb0bcc41cfd88b",
  "Package": "DSIR",
  "Title": "Data Science Infrastructure for Global Health",
  "Version": "0.7.1",
  "Authors@R": "person(given = \"Shanlong\",\nfamily = \"Ding\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dings@who.int\",\ncomment = c(ORCID = \"0000-0001-9048-6670\"))",
  "Description": "Supports global health data analysis, including a\npublication-ready 'ggplot2' theme, a 'flextable' defaults\nhelper, a thin pie chart wrapper, built-in regional\ncountry-code datasets with a WHO region lookup helper, a\ngeometric mean function for indicator aggregation, and\nconvenience clients for the World Health Organization Global\nHealth Observatory (GHO) OData API\n<https://ghoapi.azureedge.net/api/> and the United Nations\nSustainable Development Goals (SDG) API\n<https://unstats.un.org/SDGAPI/swagger/>.",
  "License": "MIT + file LICENSE",
  "Language": "en-US",
  "URL": "https://github.com/shanlong-who/DSIR,\nhttps://shanlong-who.github.io/DSIR/",
  "BugReports": "https://github.com/shanlong-who/DSIR/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev make libharfbuzz-dev libicu-dev\nlibjpeg-dev libpng-dev libtiff-dev libuv1-dev libwebp-dev\nlibxml2-dev libssl-dev",
  "Repository": "https://shanlong-who.r-universe.dev",
  "Date/Publication": "2026-05-23 13:17:58 UTC",
  "RemoteUrl": "https://github.com/shanlong-who/dsir",
  "RemoteRef": "HEAD",
  "RemoteSha": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 13:23:00 UTC",
    "User": "root"
  },
  "Author": "Shanlong Ding [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9048-6670>)",
  "Maintainer": "Shanlong Ding <dings@who.int>",
  "MD5sum": "d440c29ba0d5e1cc21e58fec2434f62b",
  "_user": "shanlong-who",
  "_type": "src",
  "_file": "DSIR_0.7.1.tar.gz",
  "_fileid": "20ea779ecf96f942f3d94622af4c6787ebdd758d73616c946f2bdd688f17dc05",
  "_filesize": 711678,
  "_sha256": "20ea779ecf96f942f3d94622af4c6787ebdd758d73616c946f2bdd688f17dc05",
  "_created": "2026-05-23T13:23:00.000Z",
  "_published": "2026-05-23T13:26:51.889Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77524214874,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7177173118"
    },
    {
      "job": 77524214886,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177168770"
    },
    {
      "job": 77524214862,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7177162820"
    },
    {
      "job": 77524214864,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177167498"
    },
    {
      "job": 77524026636,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177156839"
    },
    {
      "job": 77524214861,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177167364"
    },
    {
      "job": 77524214875,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7177166402"
    },
    {
      "job": 77524214876,
      "time": 137,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7177168273"
    },
    {
      "job": 77524214884,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177164263"
    }
  ],
  "_buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/shanlong-who/dsir",
  "_commit": {
    "id": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
    "author": "Shanlong Ding <leslieting@qq.com>",
    "committer": "Shanlong Ding <leslieting@qq.com>",
    "message": "Upload AGENTS.md\n",
    "time": 1779542278
  },
  "_maintainer": {
    "name": "Shanlong Ding",
    "email": "dings@who.int",
    "login": "shanlong-who",
    "linkedin": "in/shanlong-ding-158535186",
    "description": "What is data? To me, data is the essence behind everything. I love using my knowledge to uncover the stories hidden within data.",
    "uuid": 142551013,
    "orcid": "0000-0001-9048-6670"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "version": ">= 0.9.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "officer",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    }
  ],
  "_owner": "shanlong-who",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 13
    },
    {
      "week": "2026-19",
      "n": 8
    },
    {
      "week": "2026-20",
      "n": 9
    },
    {
      "week": "2026-21",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "shanlong-who",
      "count": 40,
      "uuid": 142551013
    }
  ],
  "_userbio": {
    "uuid": 142551013,
    "type": "user",
    "name": "Shanlong Ding",
    "description": "What is data? To me, data is the essence behind everything. I love using my knowledge to uncover the stories hidden within data."
  },
  "_downloads": {
    "count": 583,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DSIR"
  },
  "_devurl": "https://github.com/shanlong-who/dsir",
  "_pkgdown": "https://shanlong-who.github.io/DSIR/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DSIR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/shanlong-who/dsir",
  "_realowner": "shanlong-who",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-04-21"
    },
    {
      "version": "0.7.0",
      "date": "2026-05-21"
    },
    {
      "version": "0.7.1",
      "date": "2026-05-23"
    }
  ],
  "_exports": [
    "bind_indicators",
    "dsi_flextable_defaults",
    "geomean",
    "ggpie",
    "gho_clean",
    "gho_count",
    "gho_coverage",
    "gho_data",
    "gho_dimensions",
    "gho_has_data",
    "gho_indicators",
    "iso3_to_m49",
    "iso3_to_region",
    "m49_to_iso3",
    "scale_x_dsi_col",
    "scale_y_dsi_col",
    "sdg_areas",
    "sdg_clean",
    "sdg_coverage",
    "sdg_data",
    "sdg_goals",
    "sdg_indicators",
    "sdg_targets",
    "theme_dsi",
    "theme_dsi_facet"
  ],
  "_datasets": [
    {
      "name": "afro_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "afro_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "amro_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "amro_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "emro_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "emro_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "euro_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "euro_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "pic_cty",
      "title": "Pacific Island Country ISO3 codes",
      "object": "pic_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "searo_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "searo_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "who_countries",
      "title": "WHO Member States with regional and Pacific classifications",
      "object": "who_countries",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "iso3",
        "iso2",
        "m49_code",
        "name_official",
        "name_short",
        "who_region",
        "is_pic"
      ],
      "rows": 194,
      "table": true,
      "tojson": true
    },
    {
      "name": "wpro_cty",
      "title": "WHO regional Member State ISO3 vectors",
      "object": "wpro_cty",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bind_indicators",
      "title": "Bind Cleaned Indicator Tibbles",
      "topics": [
        "bind_indicators"
      ]
    },
    {
      "page": "dsi_flextable_defaults",
      "title": "Set DSIR Flextable Defaults",
      "topics": [
        "dsi_flextable_defaults"
      ]
    },
    {
      "page": "geomean",
      "title": "Geometric Mean",
      "topics": [
        "geomean"
      ]
    },
    {
      "page": "ggpie",
      "title": "Create a Pie Chart with ggplot2",
      "topics": [
        "ggpie"
      ]
    },
    {
      "page": "gho_clean",
      "title": "Tidy a GHO Data Frame",
      "topics": [
        "gho_clean"
      ]
    },
    {
      "page": "gho_count",
      "title": "Count Observations for a GHO Indicator Filter",
      "topics": [
        "gho_count"
      ]
    },
    {
      "page": "gho_coverage",
      "title": "Summarise Per-Location Data Coverage of a GHO Indicator",
      "topics": [
        "gho_coverage"
      ]
    },
    {
      "page": "gho_data",
      "title": "Fetch GHO Data",
      "topics": [
        "gho_data"
      ]
    },
    {
      "page": "gho_dimensions",
      "title": "List Dimensions of a GHO Indicator",
      "topics": [
        "gho_dimensions"
      ]
    },
    {
      "page": "gho_has_data",
      "title": "Check Whether a GHO Indicator Has Data for a Filter",
      "topics": [
        "gho_has_data"
      ]
    },
    {
      "page": "gho_indicators",
      "title": "List GHO Indicators",
      "topics": [
        "gho_indicators"
      ]
    },
    {
      "page": "iso3_to_m49",
      "title": "Convert ISO3 Codes to UN M49 Numeric Codes",
      "topics": [
        "iso3_to_m49"
      ]
    },
    {
      "page": "iso3_to_region",
      "title": "Look Up the WHO Region for ISO3 Codes",
      "topics": [
        "iso3_to_region"
      ]
    },
    {
      "page": "m49_to_iso3",
      "title": "Convert UN M49 Numeric Codes to ISO3 Codes",
      "topics": [
        "m49_to_iso3"
      ]
    },
    {
      "page": "pic_cty",
      "title": "Pacific Island Country ISO3 codes",
      "topics": [
        "pic_cty"
      ]
    },
    {
      "page": "scale_dsi_col",
      "title": "Continuous Scales for DSIR Bar / Column Charts",
      "topics": [
        "scale_dsi_col",
        "scale_x_dsi_col",
        "scale_y_dsi_col"
      ]
    },
    {
      "page": "sdg_areas",
      "title": "List SDG Geographic Areas",
      "topics": [
        "sdg_areas"
      ]
    },
    {
      "page": "sdg_clean",
      "title": "Tidy an SDG Data Frame",
      "topics": [
        "sdg_clean"
      ]
    },
    {
      "page": "sdg_coverage",
      "title": "Explore Series Coverage of an SDG Indicator",
      "topics": [
        "sdg_coverage"
      ]
    },
    {
      "page": "sdg_data",
      "title": "Fetch SDG Data",
      "topics": [
        "sdg_data"
      ]
    },
    {
      "page": "sdg_goals",
      "title": "List SDG Goals",
      "topics": [
        "sdg_goals"
      ]
    },
    {
      "page": "sdg_indicators",
      "title": "List SDG Indicators",
      "topics": [
        "sdg_indicators"
      ]
    },
    {
      "page": "sdg_targets",
      "title": "List SDG Targets",
      "topics": [
        "sdg_targets"
      ]
    },
    {
      "page": "theme_dsi",
      "title": "DSIR ggplot2 theme — WHO publication-style",
      "topics": [
        "theme_dsi"
      ]
    },
    {
      "page": "theme_dsi_facet",
      "title": "DSIR ggplot2 theme for faceted plots",
      "topics": [
        "theme_dsi_facet"
      ]
    },
    {
      "page": "who_countries",
      "title": "WHO Member States with regional and Pacific classifications",
      "topics": [
        "who_countries"
      ]
    },
    {
      "page": "who_region_vectors",
      "title": "WHO regional Member State ISO3 vectors",
      "topics": [
        "afro_cty",
        "amro_cty",
        "emro_cty",
        "euro_cty",
        "searo_cty",
        "who_region_vectors",
        "wpro_cty"
      ]
    }
  ],
  "_readme": "https://github.com/shanlong-who/dsir/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "httr2",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "officer",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "DSIR.Rmd",
      "filename": "DSIR.html",
      "title": "DSIR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2026-04-29 09:24:01",
      "modified": "2026-05-13 02:26:38",
      "commits": 10
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "dsir",
  "_universes": [
    "shanlong-who"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-05-23T13:26:08.000Z",
      "distro": "noble",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "a7c3698feb7677ce39d78916227058395f9e13cbef98c2e44cacfec7b27a7909",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-05-23T13:25:14.000Z",
      "distro": "noble",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "68c06dec0b8e3751e996045f0b3cd86759e91fcff8f64554b65828e7a5da89ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-05-23T13:24:13.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "21a2b6e215b51b02db45ab4459331e1b65ef94ab7f331c6643cc547bbd77a607",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-05-23T13:24:59.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "8b486ed49d8bdd28425ffbe23465f8c8ffb04137406e6fad015676c801aa94c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.1",
      "date": "2026-05-23T13:25:22.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "7e03f6cab41969207b2be614501eb9344cdb319fda85227c246780005a237753",
      "status": "success",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-05-23T13:24:36.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "f43cc6ae87c72cd6bb950b11a9ed89d2a3969d76e63c5d1d7aa228ff9eb23e39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-05-23T13:24:55.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "5a8d42c1f433261df201963360227564624c8bbcc2843cd8841727da125c953b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-05-23T13:24:13.000Z",
      "commit": "a637e3cadfe07a0fced20af3b1b126a6f97f559a",
      "fileid": "05d6431b29707eea9ffd5f84ccb5945dc05915be8d3da0ff9aec41dda83e8dce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanlong-who/actions/runs/26333770163"
    }
  ]
}