{
  "_id": "6a10143facfb0bcc41c83a3d",
  "Package": "mcmsupply",
  "Type": "Package",
  "Title": "Estimating Public and Private Sector Contraceptive Market Supply\nShares",
  "Version": "1.0.3",
  "Authors@R": "c(person(\"Hannah\", \"Comiskey\", email=\"hannahcomiskey68@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Niamh\", \"Cahill\", role = \"aut\"),\nperson(\"Leontine\", \"Alkema\", role =\"aut\"))",
  "Description": "Family Planning programs and initiatives typically use\nnationally representative surveys to estimate key indicators of\na country’s family planning progress. However, in recent years,\nroutinely collected family planning services data (Service\nStatistics) have been used as a supplementary data source to\nbridge gaps in the surveys. The use of service statistics comes\nwith the caveat that adjustments need to be made for missing\nprivate sector contributions to the contraceptive method supply\nchain. Evaluating the supply source of modern contraceptives\noften relies on Demographic Health Surveys (DHS), where many\ncountries do not have recent data beyond 2015/16. Fortunately,\nin the absence of recent surveys we can rely on statistical\nmodel-based estimates and projections to fill the knowledge\ngap. We present a Bayesian, hierarchical, penalized-spline\nmodel with multivariate-normal spline coefficients, to account\nfor across method correlations, to produce\ncountry-specific,annual estimates for the proportion of modern\ncontraceptive methods coming from the public and private\nsectors. This package provides a quick and convenient way for\nusers to access the DHS modern contraceptive supply share data\nat national and subnational administration levels, estimate,\nevaluate and plot annual estimates with uncertainty for a\nsample of low- and middle-income countries. Methods for the\nestimation of method supply shares at the national level are\ndescribed in Comiskey, Alkema, Cahill (2022)\n<arXiv:2212.03844>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://hannahcomiskey.github.io/mcmsupply/,\nhttps://github.com/hannahcomiskey/mcmsupply",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev jags libicu-dev libjpeg-dev\nlibpng-dev libtiff-dev libuv1-dev libwebp-dev libxml2-dev\nlibssl-dev libx11-dev zlib1g-dev",
  "Repository": "https://hannahcomiskey.r-universe.dev",
  "Date/Publication": "2026-03-22 21:56:19 UTC",
  "RemoteUrl": "https://github.com/hannahcomiskey/mcmsupply",
  "RemoteRef": "HEAD",
  "RemoteSha": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 09:02:56 UTC",
    "User": "root"
  },
  "Author": "Hannah Comiskey [aut, cre],\nNiamh Cahill [aut],\nLeontine Alkema [aut]",
  "Maintainer": "Hannah Comiskey <hannahcomiskey68@gmail.com>",
  "MD5sum": "18380f284dcc82f6dd2615b16cb8e739",
  "_user": "hannahcomiskey",
  "_type": "src",
  "_file": "mcmsupply_1.0.3.tar.gz",
  "_fileid": "8ae27df33c5657606009054ba48818765786ed7f622db8d6dbb67cc6ab7fb486",
  "_filesize": 1158792,
  "_sha256": "8ae27df33c5657606009054ba48818765786ed7f622db8d6dbb67cc6ab7fb486",
  "_created": "2026-05-21T09:02:56.000Z",
  "_published": "2026-05-22T08:30:55.905Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77343972473,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7131669125"
    },
    {
      "job": 77343972906,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7131660809"
    },
    {
      "job": 77343972780,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7131654191"
    },
    {
      "job": 77343972851,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7131644961"
    },
    {
      "job": 77343972081,
      "time": 269,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131594165"
    },
    {
      "job": 77343972176,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156190693"
    },
    {
      "job": 77343972940,
      "time": 307,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7131706693"
    },
    {
      "job": 77343972970,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7131646489"
    },
    {
      "job": 77343972682,
      "time": 142,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7131645897"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hannahcomiskey/mcmsupply",
  "_commit": {
    "id": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
    "author": "hannahcomiskey <hannahcomiskey68@gmail.com>",
    "committer": "hannahcomiskey <hannahcomiskey68@gmail.com>",
    "message": "Updates\n",
    "time": 1774216579
  },
  "_maintainer": {
    "name": "Hannah Comiskey",
    "email": "hannahcomiskey68@gmail.com",
    "login": "hannahcomiskey",
    "description": "",
    "uuid": 56960311
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "R2jags",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "tidyverse",
      "role": "Imports"
    },
    {
      "package": "tidybayes",
      "role": "Imports"
    },
    {
      "package": "runjags",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hannahcomiskey",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 17
    },
    {
      "week": "2026-12",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "hannahcomiskey",
      "count": 199,
      "uuid": 56960311
    },
    {
      "user": "freierson",
      "count": 1,
      "uuid": 89952616
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 56960311,
    "type": "user",
    "name": "Hannah Comiskey"
  },
  "_downloads": {
    "count": 203,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mcmsupply"
  },
  "_devurl": "https://github.com/hannahcomiskey/mcmsupply",
  "_pkgdown": "https://hannahcomiskey.github.io/mcmsupply/",
  "_searchresults": 27,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mcmsupply.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hannahcomiskey/mcmsupply",
  "_realowner": "hannahcomiskey",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-07-11"
    },
    {
      "version": "0.2.2",
      "date": "2023-08-14"
    },
    {
      "version": "1.0.1",
      "date": "2024-03-12"
    },
    {
      "version": "1.1.1",
      "date": "2024-03-18"
    }
  ],
  "_exports": [
    "calculate_SE_data_from_DTA",
    "check_data_freshness",
    "get_data",
    "get_modelinputs",
    "get_posterior_P_samps",
    "harvest_dhs",
    "plot_estimates",
    "pull_estimates",
    "run_jags_model"
  ],
  "_datasets": [
    {
      "name": "Country_and_area_classification",
      "title": "The Country and area classification according to the United Nations Standaistical Division, Standard country or area codes for statistical use (M49). Adapted for use in FP2030 by the Track20 project. A subset of data from the United Nations country classifications",
      "object": "Country_and_area_classification",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country or area",
        "ISO Code",
        "Major area",
        "Region",
        "Developed\nregion",
        "Least developed\ncountry",
        "Sub-Saharan\nAfrica",
        "FP2020"
      ],
      "rows": 231,
      "table": true,
      "tojson": true
    },
    {
      "name": "country_names",
      "title": "The names of the countries with national and subnational administration level data stored",
      "object": "country_names",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country names",
        "National level data available",
        "Subnational level data available"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "DEFT_DHS_database",
      "title": "DEFT_DHS_database A database of the design effects for some of the DHS surveys in the national and subnational datasets. Due to due to multistage and clustering of the DHS sample, the average standard error is increased by a design effect (DEFT) factor over that in an equivalent simple random sample.",
      "object": "DEFT_DHS_database",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "average_year",
        "DEFT"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "national_estimated_correlations_bivarlogitnormal",
      "title": "The estimated national-level correlations between the rates of change in methods",
      "object": "national_estimated_correlations_bivarlogitnormal",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "row",
        "column",
        "public_cor",
        "private_cor"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "national_FPsource_data",
      "title": "DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "object": "national_FPsource_data",
      "class": [
        "rowwise_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "Region",
        "Method",
        "average_year",
        "Commercial_medical",
        "Other",
        "Public",
        "Commercial_medical.SE",
        "Other.SE",
        "Public.SE",
        "Other_n",
        "Public_n",
        "Commercial_medical_n",
        "check_sum",
        "count_SE.NA",
        "DEFT",
        "row_id",
        "index_country",
        "index_region",
        "index_method",
        "index_year"
      ],
      "rows": 1067,
      "table": true,
      "tojson": true
    },
    {
      "name": "national_FPsource_format",
      "title": "A checklist for ensuring national-level custom data is appropriate to be used for estimation",
      "object": "national_FPsource_format",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_FPsource_VARCOV_bivar",
      "title": "",
      "object": "national_FPsource_VARCOV_bivar",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_FPsource_VARCOV_bivarlogitnormal",
      "title": "An array of variance-covariance matrices transformed onto the logit-scale via the delta method. Each matrix corresponds to the DHS survey logit-transformed observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "object": "national_FPsource_VARCOV_bivarlogitnormal",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_FPsource_varcov_order_bivarlogitnormal",
      "title": "",
      "object": "national_FPsource_varcov_order_bivarlogitnormal",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "average_year",
        "Method"
      ],
      "rows": 1057,
      "table": true,
      "tojson": true
    },
    {
      "name": "national_inv_sigma_delta_hat_bivarlogitnorm",
      "title": "The median estimate for the national-level variance-covariance matrix of the delta.k terms in the multi-country national model.",
      "object": "national_inv_sigma_delta_hat_bivarlogitnorm",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_tau_alpha_cms_hat_bivarlogitnorm",
      "title": "The median estimates of the precision for the national-level country, sector-, method-specific intercepts in the multi-country national model. This vector is used to inform the precision in the Normal prior of the national-level intercept in single-country national models.",
      "object": "national_tau_alpha_cms_hat_bivarlogitnorm",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_theta_rms_hat_bivarlogitnorm",
      "title": "The median estimates of the national-level sub-continental, sector-, method-specific intercepts in the multi-country national model. This array is used to inform the Normal prior of the country-level intercept in the single-country national model.",
      "object": "national_theta_rms_hat_bivarlogitnorm",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "national_varcov_order_bivarlogitnormal",
      "title": "The order of observations to join the variance-covariance array data and the DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "object": "national_varcov_order_bivarlogitnormal",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "average_year",
        "Method"
      ],
      "rows": 1052,
      "table": true,
      "tojson": true
    },
    {
      "name": "subnat_FPsource_data",
      "title": "DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the subnational administration level.",
      "object": "subnat_FPsource_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Country",
        "Region",
        "Method",
        "average_year",
        "sector_categories",
        "proportion",
        "SE.proportion",
        "n"
      ],
      "rows": 9517,
      "table": true,
      "tojson": true
    },
    {
      "name": "subnat_FPsource_format",
      "title": "A checklist for ensuring subnational-level custom data is appropriate to be used for estimation",
      "object": "subnat_FPsource_format",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "subnational_alpha_cms_hat",
      "title": "The median estimates of the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This array is used to inform the Normal prior of the subnational-level intercept in the single-country subnational model.",
      "object": "subnational_alpha_cms_hat",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "subnational_estimated_correlations",
      "title": "The estimated subnational-level correlations between the rates of change in methods",
      "object": "subnational_estimated_correlations",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "row",
        "column",
        "public_cor",
        "private_cor"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "subnational_inv.sigma_delta_hat",
      "title": "The median estimate for the subnational-level precision matrix of the delta.k terms in the multi-country subnational model. This array is used to inform the multi-variate normal prior in the single-country subnational model.",
      "object": "subnational_inv.sigma_delta_hat",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "subnational_tau_alpha_pms_hat",
      "title": "subnational_tau_alpha_pms_hat The median estimates of the precision for the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This vector is used to inform the precision in the Normal prior of the subnational-level intercept in single-country subnational models.",
      "object": "subnational_tau_alpha_pms_hat",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_SE_data_from_DTA",
      "title": "Calculate Standard Errors and Variance-Covariance Matrices for DHS Subnational Estimates",
      "topics": [
        "calculate_SE_data_from_DTA"
      ]
    },
    {
      "page": "check_data_freshness",
      "title": "Check Data Freshness Against DHS Reference",
      "topics": [
        "check_data_freshness"
      ]
    },
    {
      "page": "Country_and_area_classification",
      "title": "The Country and area classification according to the United Nations Standaistical Division, Standard country or area codes for statistical use (M49). Adapted for use in FP2030 by the Track20 project. A subset of data from the United Nations country classifications",
      "topics": [
        "Country_and_area_classification"
      ]
    },
    {
      "page": "country_names",
      "title": "The names of the countries with national and subnational administration level data stored",
      "topics": [
        "country_names"
      ]
    },
    {
      "page": "DEFT_DHS_database",
      "title": "DEFT_DHS_database A database of the design effects for some of the DHS surveys in the national and subnational datasets. Due to due to multistage and clustering of the DHS sample, the average standard error is increased by a design effect (DEFT) factor over that in an equivalent simple random sample.",
      "topics": [
        "DEFT_DHS_database"
      ]
    },
    {
      "page": "get_data",
      "title": "Wrapper function that retrieves the DHS data used for modelling the proportion of modern contraceptives supplied by the public and private sectors at the national and subnational administration levels.",
      "topics": [
        "get_data"
      ]
    },
    {
      "page": "get_posterior_P_samps",
      "title": "Function to pull the complete posterior sample for the national method-supply share estimates. Functionality for the subnational models is still under development.",
      "topics": [
        "get_posterior_P_samps"
      ]
    },
    {
      "page": "get_subnational_modelinputs",
      "title": "Get JAGS model inputs",
      "topics": [
        "get_modelinputs",
        "get_subnational_modelinputs"
      ]
    },
    {
      "page": "harvest_dhs",
      "title": "Harvest DHS Dataset Availability",
      "topics": [
        "harvest_dhs"
      ]
    },
    {
      "page": "national_estimated_correlations_bivarlogitnormal",
      "title": "The estimated national-level correlations between the rates of change in methods",
      "topics": [
        "national_estimated_correlations_bivarlogitnormal"
      ]
    },
    {
      "page": "national_FPsource_data",
      "title": "DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "topics": [
        "national_FPsource_data"
      ]
    },
    {
      "page": "national_FPsource_format",
      "title": "A checklist for ensuring national-level custom data is appropriate to be used for estimation",
      "topics": [
        "national_FPsource_format"
      ]
    },
    {
      "page": "national_FPsource_VARCOV_bivarlogitnormal",
      "title": "An array of variance-covariance matrices transformed onto the logit-scale via the delta method. Each matrix corresponds to the DHS survey logit-transformed observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "topics": [
        "national_FPsource_VARCOV_bivarlogitnormal"
      ]
    },
    {
      "page": "national_inv_sigma_delta_hat_bivarlogitnorm",
      "title": "The median estimate for the national-level variance-covariance matrix of the delta.k terms in the multi-country national model.",
      "topics": [
        "national_inv_sigma_delta_hat_bivarlogitnorm"
      ]
    },
    {
      "page": "national_tau_alpha_cms_hat_bivarlogitnorm",
      "title": "The median estimates of the precision for the national-level country, sector-, method-specific intercepts in the multi-country national model. This vector is used to inform the precision in the Normal prior of the national-level intercept in single-country national models.",
      "topics": [
        "national_tau_alpha_cms_hat_bivarlogitnorm"
      ]
    },
    {
      "page": "national_theta_rms_hat_bivarlogitnorm",
      "title": "The median estimates of the national-level sub-continental, sector-, method-specific intercepts in the multi-country national model. This array is used to inform the Normal prior of the country-level intercept in the single-country national model.",
      "topics": [
        "national_theta_rms_hat_bivarlogitnorm"
      ]
    },
    {
      "page": "national_varcov_order_bivarlogitnormal",
      "title": "The order of observations to join the variance-covariance array data and the DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the national level",
      "topics": [
        "national_varcov_order_bivarlogitnormal"
      ]
    },
    {
      "page": "plot_estimates",
      "title": "Wrapper function to plot the JAGS estimates",
      "topics": [
        "plot_estimates"
      ]
    },
    {
      "page": "pull_estimates",
      "title": "Function to pull method-supply share median estimates and credible intervals for a given year and country.",
      "topics": [
        "pull_estimates"
      ]
    },
    {
      "page": "run_jags_model",
      "title": "Wrapper function to run the jags model for estimating the proportion of modern contraceptive methods supplied by the public & private Sectors using a Bayesian hierarchical penalized spline model for the national and subnational administration levels",
      "topics": [
        "run_jags_model"
      ]
    },
    {
      "page": "subnat_FPsource_data",
      "title": "DHS survey observations for the proportion of modern contraceptives supplied by the public and private sectors at the subnational administration level.",
      "topics": [
        "subnat_FPsource_data"
      ]
    },
    {
      "page": "subnat_FPsource_format",
      "title": "A checklist for ensuring subnational-level custom data is appropriate to be used for estimation",
      "topics": [
        "subnat_FPsource_format"
      ]
    },
    {
      "page": "subnational_alpha_cms_hat",
      "title": "The median estimates of the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This array is used to inform the Normal prior of the subnational-level intercept in the single-country subnational model.",
      "topics": [
        "subnational_alpha_cms_hat"
      ]
    },
    {
      "page": "subnational_estimated_correlations",
      "title": "The estimated subnational-level correlations between the rates of change in methods",
      "topics": [
        "subnational_estimated_correlations"
      ]
    },
    {
      "page": "subnational_inv.sigma_delta_hat",
      "title": "The median estimate for the subnational-level precision matrix of the delta.k terms in the multi-country subnational model. This array is used to inform the multi-variate normal prior in the single-country subnational model.",
      "topics": [
        "subnational_inv.sigma_delta_hat"
      ]
    },
    {
      "page": "subnational_tau_alpha_pms_hat",
      "title": "subnational_tau_alpha_pms_hat The median estimates of the precision for the subnational-level country, sector-, method-specific intercepts in the multi-country subnational model. This vector is used to inform the precision in the Normal prior of the subnational-level intercept in single-country subnational models.",
      "topics": [
        "subnational_tau_alpha_pms_hat"
      ]
    }
  ],
  "_readme": "https://github.com/hannahcomiskey/mcmsupply/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "blob",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "callr",
    "cellranger",
    "checkmate",
    "cli",
    "clipr",
    "coda",
    "codetools",
    "conflicted",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "dbplyr",
    "digest",
    "distributional",
    "dplyr",
    "dtplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "fs",
    "gargle",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "googledrive",
    "googlesheets4",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "httr",
    "ids",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "minqa",
    "mitools",
    "modelr",
    "numDeriv",
    "openssl",
    "openxlsx",
    "pillar",
    "pkgconfig",
    "plyr",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "quadprog",
    "R2jags",
    "R2WinBUGS",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "readxl",
    "rematch",
    "rematch2",
    "reprex",
    "rjags",
    "rlang",
    "rmarkdown",
    "rstudioapi",
    "runjags",
    "rvest",
    "S7",
    "sass",
    "scales",
    "selectr",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "svUnit",
    "sys",
    "systemfonts",
    "tensorA",
    "textshaping",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "tidyverse",
    "timechange",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zip"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "package_data.Rmd",
      "filename": "package_data.html",
      "title": "Package data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "<a name=\"div\"></a>",
        "Family planning source data",
        "<a name=\"cu\"></a>",
        "Country and area classification",
        "Country names",
        "Estimated national correlations",
        "Estimated subnational correlations",
        "Estimated model parameters for national one-country runs",
        "Estimated model parameters for subnational one-country runs"
      ],
      "created": "2023-03-23 11:33:23",
      "modified": "2024-04-05 13:43:47",
      "commits": 12
    },
    {
      "source": "national_multicountry_mod.Rmd",
      "filename": "national_multicountry_mod.html",
      "title": "Running a national level multi-country model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Load the data",
        "Get the JAGS model inputs and the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty.",
        "Check the model diagnostics",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates for a particular country and year that you are particularly interested in",
        "Review the complete posterior sample of estimated method-supply shares"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2026-03-21 01:52:40",
      "commits": 3
    },
    {
      "source": "national_singlecountry_mod.Rmd",
      "filename": "national_singlecountry_mod.html",
      "title": "Running a national level single-country model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Load the data",
        "Get the JAGS model inputs and the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty",
        "Check the model diagnostics",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates that you are particularly interested in",
        "Review the complete posterior sample of estimated method-supply shares"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2024-04-05 13:43:47",
      "commits": 1
    },
    {
      "source": "national_singlecountry_customdata_models.Rmd",
      "filename": "national_singlecountry_customdata_models.html",
      "title": "Running a national level single-country model with custom data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Try to use unsuitable data in the get_data function.",
        "Load suitable data into the get_data function",
        "Get the JAGS model inputs and the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty",
        "Check the model diagnostics",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates that you are particularly interested in",
        "Review the complete posterior sample of estimated method-supply shares"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2024-04-05 13:43:47",
      "commits": 1
    },
    {
      "source": "subnational_multicountry_models.Rmd",
      "filename": "subnational_multicountry_models.html",
      "title": "Running a subnational level multi-country model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Get your data",
        "Get the JAGS model inputs from the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty.",
        "Check the model diagnostics",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates that you are particularly interested in"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2024-04-05 13:43:47",
      "commits": 1
    },
    {
      "source": "subnational_singlecountry_models.Rmd",
      "filename": "subnational_singlecountry_models.html",
      "title": "Running a subnational level single-country model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Load the data",
        "Get the JAGS model inputs and the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty",
        "Check the model diagnostics",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates that you are particularly interested in"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2024-04-05 13:43:47",
      "commits": 1
    },
    {
      "source": "subnational_singlecountry_customdata_models.Rmd",
      "filename": "subnational_singlecountry_customdata_models.html",
      "title": "Running a subnational level single-country model with custom data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load your library",
        "Try to use unsuitable data. The get_data function throws an error indicating that the Method column is missing from the custom user-supplied data.",
        "Load the suitable data",
        "Get the JAGS model inputs and the cleaned data",
        "Run JAGS model and get posterior point estimates with uncertainty",
        "Plot posterior point estimates with uncertainty",
        "Pull out estimates that you are particularly interested in"
      ],
      "created": "2024-04-05 13:43:47",
      "modified": "2024-04-05 13:43:47",
      "commits": 1
    }
  ],
  "_score": 5.878521795501206,
  "_indexed": true,
  "_nocasepkg": "mcmsupply",
  "_universes": [
    "hannahcomiskey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-21T09:05:46.000Z",
      "distro": "noble",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "0512774177e7e94c4c606386139473631c82e94c3795af50a366bdb5e8944a61",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-21T09:05:33.000Z",
      "distro": "noble",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "863cbd3c4beddce353462c13c78b8e59de3e667c4271cc7379e7adb0c8abe914",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-21T09:05:11.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "24bbeb39fb3cc8c116bbefe4084079cc500ba27108d7b766718356c17bdf9553",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-21T09:04:58.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "6f5c25dc2cc17bacd306e33759cc1a624735b91760c46e5e8f517cd62ddd85be",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T09:07:27.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "4ff1db05c0e305812fdd001e464adce37e9c4e3a1cc8bf3580209fd27c74ab27",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T09:04:32.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "3dbf734fd6f050327ae6be131b18d6c95fe169c8a544c163eb690e2d9bdef791",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-21T09:04:31.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "a1c828766212c12d343c1fd60101ce2656ab9813092a58f4a774e2125dcffdbf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T08:30:31.000Z",
      "commit": "a6f30a0a04b52b780a86d6a973738df1a1e00647",
      "fileid": "3d36f58698266a9c9aa9a13d0959bb2f96cdecd75fb549c8de205e468451462d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hannahcomiskey/actions/runs/26216161236"
    }
  ]
}