{
  "_id": "6ac8dfbdde46216d5edd8b7f",
  "Package": "demogsurv",
  "Title": "Demographic analysis of DHS and other household surveys",
  "Version": "0.2.6",
  "Authors@R": "c(person(\"Jeff\", \"Eaton\", email = \"jeffrey.eaton@imperial.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"Bruno\", \"Masquelier\", email = \"bruno.masquelier@uclouvain.be\", role = \"aut\"))",
  "Description": "This package includes tools for calculating demographic\nindicators from household survey data. Initially developed for\nfor processing and analysis from Demographic and Health Surveys\n(DHS) and Multiple Indicator Cluster Surveys (MICS). The\npackage provides tools to calculate standard child mortality,\nadult mortality, and fertility indicators stratified\narbitrarily by age group, calendar period, pre-survey time\nperiods, birth cohorts and other survey variables (e.g.\nresidence, region, wealth status, education, etc.).\nDesign-based standard errors and sample correlations are\navailable for all indicators via Taylor linearisation or\njackknife.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.2",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://mrc-ide.r-universe.dev",
  "Date/Publication": "2022-03-13 11:36:32 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/demogsurv",
  "RemoteRef": "master",
  "RemoteSha": "0389352e6cdd366f9b1324a0ffe837081c587d86",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 12:32:33 UTC",
    "User": "root"
  },
  "Author": "Jeff Eaton [aut, cre],\nBruno Masquelier [aut]",
  "Maintainer": "Jeff Eaton <jeffrey.eaton@imperial.ac.uk>",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "demogsurv_0.2.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/f5a55f5690a8743173bad6c2dd0823125b44296b6ab485d8a856cbae01b47173",
  "_filesize": 1259702,
  "_sha256": "f5a55f5690a8743173bad6c2dd0823125b44296b6ab485d8a856cbae01b47173",
  "_expires": "2027-01-17T12:36:10.000Z",
  "_created": "2026-10-09T12:32:33.000Z",
  "_published": "2026-10-09T12:36:13.237Z",
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113820660869,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11616835004"
    },
    {
      "job": 113820660584,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11616002775"
    },
    {
      "job": 113820660538,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11615799109"
    },
    {
      "job": 113820660705,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11616260753"
    },
    {
      "job": 113819127847,
      "time": 243,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11615923481"
    },
    {
      "job": 113820660605,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11616092287"
    },
    {
      "job": 113820660641,
      "time": 136,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11616885701"
    },
    {
      "job": 113820660713,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11615824200"
    },
    {
      "job": 113820660707,
      "time": 118,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11616445274"
    }
  ],
  "_upstream": "https://github.com/mrc-ide/demogsurv",
  "_commit": {
    "id": "0389352e6cdd366f9b1324a0ffe837081c587d86",
    "author": "Jeff Eaton <jeffrey.eaton@imperial.ac.uk>",
    "committer": "Jeff Eaton <jeffrey.eaton@imperial.ac.uk>",
    "message": "add error if bvars not found\n",
    "time": 1647171392
  },
  "_maintainer": {
    "name": "Jeff Eaton",
    "email": "jeffrey.eaton@imperial.ac.uk",
    "login": "jeffeaton",
    "description": "",
    "uuid": 7427899
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "version": ">= 2.39",
      "role": "Imports"
    },
    {
      "package": "survey",
      "version": ">= 2.33",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "version": ">= 1.4.3",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "foreign",
      "role": "Suggests"
    },
    {
      "package": "rdhs",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jeffeaton",
      "count": 61,
      "uuid": 7427899
    },
    {
      "user": "chacalle",
      "count": 12,
      "uuid": 10577851
    }
  ],
  "_userbio": {
    "uuid": 25453642,
    "type": "organization",
    "name": "MRC Centre for Global Infectious Disease Analysis",
    "followers": 164,
    "description": "MRC Centre hosted within the Department of Infectious Disease Epidemiology at Imperial College London"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/demogsurv"
  },
  "_devurl": "https://github.com/mrc-ide/demogsurv",
  "_searchresults": 34,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/demogsurv.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "calc_asfr",
    "calc_nqx",
    "calc_tfr",
    "demog_pyears",
    "jackknife",
    "reshape_sib_data"
  ],
  "_datasets": [
    {
      "name": "zzbr",
      "title": "DHS Model Births Recode Dataset",
      "object": "zzbr",
      "class": [
        "data.frame"
      ],
      "fields": [
        "caseid",
        "bidx",
        "v000",
        "v001",
        "v002",
        "v003",
        "v004",
        "v005",
        "v006",
        "v007",
        "v008",
        "v009",
        "v010",
        "v011",
        "v012",
        "v013",
        "v014",
        "v015",
        "v016",
        "v017",
        "v018",
        "v019",
        "v019a",
        "v020",
        "v021",
        "v022",
        "v023",
        "v024",
        "v025",
        "v026",
        "v027",
        "v028",
        "v029",
        "v030",
        "v031",
        "v032",
        "v034",
        "v040",
        "v042",
        "v044",
        "v101",
        "v102",
        "v103",
        "v104",
        "v105",
        "v106",
        "v107",
        "v113",
        "v115",
        "v116",
        "v119",
        "v120",
        "v121",
        "v122",
        "v123",
        "v124",
        "v125",
        "v127",
        "v128",
        "v129",
        "v130",
        "v131",
        "v133",
        "v134",
        "v135",
        "v136",
        "v137",
        "v138",
        "v139",
        "v140",
        "v141",
        "v149",
        "v150",
        "v151",
        "v152",
        "v153",
        "v155",
        "v156",
        "v157",
        "v158",
        "v159",
        "v160",
        "v161",
        "v166",
        "v167",
        "v168",
        "v190",
        "v191",
        "bord",
        "b0",
        "b1",
        "b2",
        "b3",
        "b4",
        "b5",
        "b6",
        "b7",
        "b8",
        "b9",
        "b10",
        "b11",
        "b12",
        "b13",
        "b15",
        "b16"
      ],
      "rows": 23666,
      "table": true,
      "tojson": true
    },
    {
      "name": "zzir",
      "title": "DHS Model Individual Recode Dataset",
      "object": "zzir",
      "class": [
        "data.frame"
      ],
      "fields": [],
      "rows": 8348,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dot-mm_aggr",
      "title": "Construct a model matrix for aggregating over age groups",
      "topics": [
        ".mm_aggr"
      ]
    },
    {
      "page": "calc_asfr",
      "title": "Calculate age-specific fertility rate (ASFR) and total fertility rate (TFR)",
      "topics": [
        "calc_asfr",
        "calc_tfr"
      ]
    },
    {
      "page": "calc_dhs_mx",
      "title": "Calculate age-specific mortality rates in period preceding survey.",
      "topics": [
        "calc_dhs_mx"
      ]
    },
    {
      "page": "calc_nqx",
      "title": "Calculate the probability of dying between age x and x+n (nqx)",
      "topics": [
        "calc_nqx"
      ]
    },
    {
      "page": "create_tips_data",
      "title": "Create episode dataset split by period, age group, and time preceding survey indicator (TIPS)",
      "topics": [
        "create_tips_data"
      ]
    },
    {
      "page": "demog_pyears",
      "title": "Events and person-years from episode data for demographic analysis",
      "topics": [
        "demog_pyears"
      ]
    },
    {
      "page": "jackknife",
      "title": "Jackknife covariance calculation",
      "topics": [
        "jackknife"
      ]
    },
    {
      "page": "reshape_sib_data",
      "title": "Convert respondent-level sibling history data to one row per sibling",
      "topics": [
        "reshape_sib_data"
      ]
    },
    {
      "page": "zzbr",
      "title": "DHS Model Births Recode Dataset",
      "topics": [
        "zzbr"
      ]
    },
    {
      "page": "zzir",
      "title": "DHS Model Individual Recode Dataset",
      "topics": [
        "zzir"
      ]
    }
  ],
  "_readme": "https://github.com/mrc-ide/demogsurv/raw/master/README.md",
  "_rundeps": [
    "cli",
    "DBI",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "plyr",
    "Rcpp",
    "RcppArmadillo",
    "reshape2",
    "rlang",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "vctrs"
  ],
  "_score": 3.1335389083702174,
  "_indexed": true,
  "_nocasepkg": "demogsurv",
  "_universes": [
    "mrc-ide",
    "jeffeaton"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.6",
      "date": "2026-10-09T12:35:01.000Z",
      "distro": "resolute",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/7626a31c181017ae9204857b6951eb2e29bc2ec3061d20b71f8dccb56dbf21a4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.6",
      "date": "2026-10-09T12:35:04.000Z",
      "distro": "resolute",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/dfb099a80ac0b494de6c1edbc7d2df5867d9a5a5a23ea919e5b76a7e61b9ac80",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:20.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/bf752f187daba8ae30907e9bdda9ad2013f95f51d70fcef85cd961ebcfea415e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:31.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/595806e3f620e0152215606498ab30f04c4038cf70cfb91b3c2bbd2c3e235b23",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:51.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/fc8b1460343e4f592871432423d60c972a7ada1f7112d3c4dab6ec0965ef973a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:43.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/162592ccbfe1e744ab2bbd096018f37fea76c1db3d915febe6e8cd1fb806541d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:04.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/a63f1458f24950c8211726f9a1637797fbf2f4ed025aa62ac4f5fc99bbe088f2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.6",
      "date": "2026-10-09T12:34:10.000Z",
      "commit": "0389352e6cdd366f9b1324a0ffe837081c587d86",
      "fileid": "https://r2.ropensci.org/196856b0a54f02f00201f644ea604bf6bae977dee312dc5582d35476da759fd2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/37930262497"
    }
  ]
}