{
  "_id": "6accb93fa14063b82c3a8655",
  "Package": "DemogAnr",
  "Title": "Demographic Analysis",
  "Version": "0.2.0",
  "Authors@R": "person(\"Edward\", \"Owusu Manu\", email = \"edward.manu@statsghana.gov.gh\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Tool for demographic modeling and analysis, combining\nstochastic simulation-based projections with classic\ndemographic methods. Provides utilities for disaggregating\npopulation data using Karup-King interpolation, fitting Brass\nrelational logit models, calculating fertility and mortality\nmetrics, building complete and abridged life tables with\nmodel-based separation factors, estimating child mortality\nindirectly from children ever born and surviving\n(Brass-Trussell method), decomposing and standardizing rates,\nand performing hierarchical subnational population projections.\nRelational life table estimation and interpolation methods are\ndescribed in Brass (1975) \"Methods for Estimating Fertility and\nMortality from Limited and Defective Data\", Preston et al.\n(2001, ISBN:978-0631226161) \"Demography: Measuring and Modeling\nPopulation Processes\", Siegel and Swanson (2004,\nISBN:978-0126419559) \"The Methods and Materials of Demography\",\nand Raftery et al. (2012) \"Bayesian probabilistic population\nprojections for all countries\" <doi:10.1073/pnas.1211452109>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 10:37:04 UTC",
    "User": "root"
  },
  "Author": "Edward Owusu Manu [aut, cre]",
  "Maintainer": "Edward Owusu Manu <edward.manu@statsghana.gov.gh>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-26 15:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/DemogAnr",
  "RemoteRef": "HEAD",
  "RemoteSha": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
  "_user": "cran",
  "_type": "src",
  "_file": "DemogAnr_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/bc4411d5935c84a707e965d2cf6642eb28f6d87ca6829c6b38389aba87a08a87",
  "_filesize": 366170,
  "_sha256": "bc4411d5935c84a707e965d2cf6642eb28f6d87ca6829c6b38389aba87a08a87",
  "_expires": "2027-01-20T10:41:01.000Z",
  "_created": "2026-10-12T10:37:04.000Z",
  "_published": "2026-10-12T10:41:02.944Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114771645264,
      "time": 198,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11741213238"
    },
    {
      "job": 114771645366,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741302960"
    },
    {
      "job": 114770670101,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740788181"
    },
    {
      "job": 114771645425,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11741577432"
    },
    {
      "job": 114771645272,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11741457579"
    },
    {
      "job": 114771645204,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741322789"
    }
  ],
  "_upstream": "https://github.com/cran/DemogAnr",
  "_commit": {
    "id": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
    "author": "Edward Owusu Manu <edward.manu@statsghana.gov.gh>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1785080402
  },
  "_maintainer": {
    "name": "Edward Owusu Manu",
    "email": "edward.manu@statsghana.gov.gh"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-23"
    },
    {
      "name": "0.2.0",
      "date": "2026-07-26"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 272,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DemogAnr"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DemogAnr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-23"
    },
    {
      "version": "0.2.0",
      "date": "2026-07-26"
    }
  ],
  "_exports": [
    "age_ratio",
    "brass_logit",
    "chm_brass",
    "decompose_LE",
    "decompose_rates",
    "dem.cdr",
    "dem.fert",
    "dem.mmr",
    "dm.chm",
    "interpolation",
    "karup_king",
    "lifetable",
    "lifetable_nqx",
    "math_project",
    "myers",
    "project_population",
    "pyramid",
    "sex_ratio",
    "standardize",
    "un_age_sex_accuracy",
    "whipple"
  ],
  "_datasets": [
    {
      "name": "data",
      "title": "Grouped population data by 5-year age groups",
      "object": "data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "2021",
        "2022",
        "2023",
        "2024",
        "2025",
        "2026",
        "2027",
        "2028",
        "2029",
        "2030",
        "2031",
        "2032",
        "2033",
        "2034",
        "2035",
        "age_col"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "first_coef",
      "title": "Karup-King coefficients for the first age group",
      "object": "first_coef",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "ghmort2021",
      "title": "Ghana age-specific mortality by sex, 2021",
      "object": "ghmort2021",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Age",
        "AgeGroup",
        "Population",
        "Deaths"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "ghpop2021",
      "title": "Ghana single-year age distribution by sex, 2021",
      "object": "ghpop2021",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Age",
        "Population"
      ],
      "rows": 162,
      "table": true,
      "tojson": true
    },
    {
      "name": "gphc2010",
      "title": "Ghana 2010 Population and Housing Census mortality data",
      "object": "gphc2010",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Age",
        "Pop",
        "Deaths"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "last_coef",
      "title": "Karup-King coefficients for the last age group",
      "object": "last_coef",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "middle_coef",
      "title": "Karup-King coefficients for middle age groups",
      "object": "middle_coef",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "region2000",
      "title": "Regional projection parameters, Ghana 2000",
      "object": "region2000",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Country",
        "Region",
        "base_pop",
        "TFR",
        "death_rate",
        "net_migration"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "standards",
      "title": "Brass standard life tables",
      "object": "standards",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Age",
        "GeneralUN",
        "GeneralUN_logit",
        "African",
        "African_logit"
      ],
      "rows": 24,
      "table": true,
      "tojson": true
    },
    {
      "name": "testdata",
      "title": "District-level demographic test data",
      "object": "testdata",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "region",
        "district",
        "year",
        "age_group",
        "sex",
        "population",
        "births",
        "deaths",
        "in_migration",
        "out_migration"
      ],
      "rows": 1224,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "age_ratio",
      "title": "Age Ratios by Age Group",
      "topics": [
        "age_ratio"
      ]
    },
    {
      "page": "brass_logit",
      "title": "Brass Relational Logit Model",
      "topics": [
        "brass_logit"
      ]
    },
    {
      "page": "chm_brass",
      "title": "Indirect Child Mortality Estimation (Brass-Trussell method)",
      "topics": [
        "chm_brass"
      ]
    },
    {
      "page": "data",
      "title": "Grouped population data by 5-year age groups",
      "topics": [
        "data"
      ]
    },
    {
      "page": "decompose_LE",
      "title": "Arriaga Decomposition of a Difference in Life Expectancy",
      "topics": [
        "decompose_LE"
      ]
    },
    {
      "page": "decompose_rates",
      "title": "Kitagawa Decomposition of a Difference Between Two Rates",
      "topics": [
        "decompose_rates"
      ]
    },
    {
      "page": "dem.cdr",
      "title": "Calculate CDR and ASDR",
      "topics": [
        "dem.cdr"
      ]
    },
    {
      "page": "dem.fert",
      "title": "Calculate Fertility Metrics",
      "topics": [
        "dem.fert"
      ]
    },
    {
      "page": "dem.mmr",
      "title": "Calculate Maternal Mortality Metrics",
      "topics": [
        "dem.mmr"
      ]
    },
    {
      "page": "dm.chm",
      "title": "Calculate Child Mortality Metrics by Age",
      "topics": [
        "dm.chm"
      ]
    },
    {
      "page": "first_coef",
      "title": "Karup-King coefficients for the first age group",
      "topics": [
        "first_coef"
      ]
    },
    {
      "page": "ghmort2021",
      "title": "Ghana age-specific mortality by sex, 2021",
      "topics": [
        "ghmort2021"
      ]
    },
    {
      "page": "ghpop2021",
      "title": "Ghana single-year age distribution by sex, 2021",
      "topics": [
        "ghpop2021"
      ]
    },
    {
      "page": "gphc2010",
      "title": "Ghana 2010 Population and Housing Census mortality data",
      "topics": [
        "gphc2010"
      ]
    },
    {
      "page": "interpolation",
      "title": "Smart Interpolation Function",
      "topics": [
        "interpolation"
      ]
    },
    {
      "page": "karup_king",
      "title": "Split Age Groups into Single-Year Ages",
      "topics": [
        "karup_king"
      ]
    },
    {
      "page": "last_coef",
      "title": "Karup-King coefficients for the last age group",
      "topics": [
        "last_coef"
      ]
    },
    {
      "page": "lifetable",
      "title": "lifetable",
      "topics": [
        "lifetable"
      ]
    },
    {
      "page": "lifetable_nqx",
      "title": "Compute Life Table Using Age and nqx",
      "topics": [
        "lifetable_nqx"
      ]
    },
    {
      "page": "math_project",
      "title": "Hierarchical Subnational Population Projection",
      "topics": [
        "math_project"
      ]
    },
    {
      "page": "middle_coef",
      "title": "Karup-King coefficients for middle age groups",
      "topics": [
        "middle_coef"
      ]
    },
    {
      "page": "myers",
      "title": "Myers' Blended Index of Age Heaping",
      "topics": [
        "myers"
      ]
    },
    {
      "page": "project_population",
      "title": "Basic Probabilistic Population Projection",
      "topics": [
        "project_population"
      ]
    },
    {
      "page": "pyramid",
      "title": "Population Pyramid",
      "topics": [
        "pyramid"
      ]
    },
    {
      "page": "region2000",
      "title": "Regional projection parameters, Ghana 2000",
      "topics": [
        "region2000"
      ]
    },
    {
      "page": "sex_ratio",
      "title": "Sex Ratios by Age Group",
      "topics": [
        "sex_ratio"
      ]
    },
    {
      "page": "standardize",
      "title": "Age Standardization: Comparing Two Populations",
      "topics": [
        "standardize"
      ]
    },
    {
      "page": "standards",
      "title": "Brass standard life tables",
      "topics": [
        "standards"
      ]
    },
    {
      "page": "testdata",
      "title": "District-level demographic test data",
      "topics": [
        "testdata"
      ]
    },
    {
      "page": "un_age_sex_accuracy",
      "title": "United Nations Age-Sex Accuracy Index",
      "topics": [
        "un_age_sex_accuracy"
      ]
    },
    {
      "page": "whipple",
      "title": "Whipple's Index of Age Heaping",
      "topics": [
        "whipple"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "demoganr",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-12T10:40:21.000Z",
      "distro": "resolute",
      "commit": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
      "fileid": "https://r2.ropensci.org/d3e91818c5004a42f0fcc2d10086f8f3dc1b7b45e853b4eddcc2086ee9bbb61b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-12T10:39:06.000Z",
      "distro": "resolute",
      "commit": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
      "fileid": "https://r2.ropensci.org/ad925cbba84435ab6218640e8257a5ec05efb35f7a5fe8a110f60c09f68dc593",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-12T10:39:02.000Z",
      "commit": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
      "fileid": "https://r2.ropensci.org/3d5f6450789479c5d2d9f2ce814ebb42d2b42560c317f7784b1606f6db383b3b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-12T10:38:07.000Z",
      "commit": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
      "fileid": "https://r2.ropensci.org/60f22063c8a68b237099a5d0399554b7952ed2e785f656a1d11df4327fa0b48b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-12T10:38:30.000Z",
      "commit": "cb64c96c3c84491a5b3e48c77801ce9859a71201",
      "fileid": "https://r2.ropensci.org/f3730efeea912dfb4bb3d1b67be46a3cc068dacdfa47f69d69b1d5e4835e82ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38237153409"
    }
  ]
}