{
  "_id": "6a132226acfb0bcc41d27363",
  "Package": "AgePopDenom",
  "Type": "Package",
  "Title": "Model Fine-Scale Age-Structured Population Data using\nOpen-Source Data",
  "Version": "1.2.3",
  "Authors@R": "c(\nperson(\"Mohamed A.\", \"Yusuf\",\nrole = c(\"aut\", \"cre\"),\nemail = \"moyusuf@who.int\",\ncomment = c(ORCID = \"0000-0002-9339-4613\")),\nperson(\"Victor A.\", \"Alegana\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-5177-9227\")),\nperson(\"Chibuzor Christopher\", \"Nnanatu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-5841-3700\")),\nperson(\"Andrew\", \"Tatem\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7270-941X\")))",
  "Description": "Automate the modelling of age-structured population data\nusing survey data, grid population estimates and urban-rural\nextents.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17, TMB",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://truenomad.github.io/AgePopDenom/,\nhttps://github.com/truenomad/AgePopDenom",
  "BugReports": "https://github.com/truenomad/AgePopDenom/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev libx11-dev zlib1g-dev",
  "Repository": "https://truenomad.r-universe.dev",
  "Date/Publication": "2026-05-24 15:11:20 UTC",
  "RemoteUrl": "https://github.com/truenomad/agepopdenom",
  "RemoteRef": "HEAD",
  "RemoteSha": "37542e1a0effad6363af4879bb4952358987f85c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 16:03:31 UTC",
    "User": "root"
  },
  "Author": "Mohamed A. Yusuf [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9339-4613>),\nVictor A. Alegana [aut] (ORCID:\n<https://orcid.org/0000-0001-5177-9227>),\nChibuzor Christopher Nnanatu [aut] (ORCID:\n<https://orcid.org/0000-0002-5841-3700>),\nAndrew Tatem [aut] (ORCID: <https://orcid.org/0000-0002-7270-941X>)",
  "Maintainer": "Mohamed A. Yusuf <moyusuf@who.int>",
  "MD5sum": "bfb20c62c92e4e22f1dfc1bacc1d8721",
  "_user": "truenomad",
  "_type": "src",
  "_file": "AgePopDenom_1.2.3.tar.gz",
  "_fileid": "c6987bdc8a1b647e995573a08e25d4e0ab4b5d33673b087548979b28cf6f4f2b",
  "_filesize": 818277,
  "_sha256": "c6987bdc8a1b647e995573a08e25d4e0ab4b5d33673b087548979b28cf6f4f2b",
  "_created": "2026-05-24T16:03:31.000Z",
  "_published": "2026-05-24T16:07:02.505Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77609963191,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7186516350"
    },
    {
      "job": 77609963188,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186515560"
    },
    {
      "job": 77609963196,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7186510660"
    },
    {
      "job": 77609963187,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186509401"
    },
    {
      "job": 77609699861,
      "time": 242,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186498487"
    },
    {
      "job": 77609963181,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186513268"
    },
    {
      "job": 77609963205,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7186510743"
    },
    {
      "job": 77609963208,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7186509347"
    },
    {
      "job": 77609963211,
      "time": 142,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186513504"
    }
  ],
  "_buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/truenomad/agepopdenom",
  "_commit": {
    "id": "37542e1a0effad6363af4879bb4952358987f85c",
    "author": "Mohamed Yusuf <mohamedayusuf87@gmail.com>",
    "committer": "Mohamed Yusuf <mohamedayusuf87@gmail.com>",
    "message": "Add DHS data access section to README and fix template typos\n",
    "time": 1779635480
  },
  "_maintainer": {
    "name": "Mohamed A. Yusuf",
    "email": "moyusuf@who.int",
    "orcid": "0000-0002-9339-4613"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "here",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "base",
      "role": "Imports"
    },
    {
      "package": "rdhs",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "gstat",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "countrycode",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "graphics",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "pbmcapply",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "exactextractr",
      "role": "Suggests"
    },
    {
      "package": "pdist",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "openxlsx2",
      "role": "Suggests"
    },
    {
      "package": "matrixStats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "RcppEigen",
      "role": "Suggests"
    }
  ],
  "_owner": "truenomad",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 20
    },
    {
      "week": "2025-30",
      "n": 26
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "truenomad",
      "count": 125,
      "uuid": 22276163
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 22276163,
    "type": "user",
    "name": "Mohamed Yusuf",
    "description": "Experienced computational epidemiologist at intersection of epidemiology & data science, using data to solve complex questions on population health."
  },
  "_downloads": {
    "count": 253,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AgePopDenom"
  },
  "_devurl": "https://github.com/truenomad/agepopdenom",
  "_pkgdown": "https://truenomad.github.io/AgePopDenom/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AgePopDenom.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/truenomad/agepopdenom",
  "_realowner": "truenomad",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2025-02-25"
    },
    {
      "version": "1.2.2",
      "date": "2025-07-22"
    },
    {
      "version": "1.2.3",
      "date": "2025-07-23"
    }
  ],
  "_exports": [
    "aggregate_and_extract_gamma",
    "compute_cov",
    "create_prediction_data",
    "create_project_structure",
    "download_dhs_datasets",
    "download_pop_rasters",
    "download_shapefile",
    "extract_afurextent",
    "extract_age_param",
    "extract_betas",
    "fit_spatial_model",
    "generate_age_pop_raster",
    "generate_age_pop_table",
    "generate_age_pyramid_plot",
    "generate_gamma_predictions",
    "generate_gamma_raster_plot",
    "generate_variogram_plot",
    "get_current_script_path",
    "init",
    "install_suggested_packages",
    "log_lik",
    "process_dhs_data",
    "process_final_population_data",
    "process_gamma_predictions",
    "rasterize_data",
    "run_full_workflow",
    "simulate_dummy_dhs_pr"
  ],
  "_help": [
    {
      "page": "aggregate_and_extract_gamma",
      "title": "Aggregate Individual Survey Data and Extract Gamma Parameters by Location",
      "topics": [
        "aggregate_and_extract_gamma"
      ]
    },
    {
      "page": "autofitVariogram",
      "title": "Automatically Fit a Variogram Model",
      "topics": [
        "autofitVariogram"
      ]
    },
    {
      "page": "compute_cov",
      "title": "Compute Covariance Matrix for Spatial Model",
      "topics": [
        "compute_cov"
      ]
    },
    {
      "page": "create_prediction_data",
      "title": "Generate or Load Cached Predictors Data",
      "topics": [
        "create_prediction_data"
      ]
    },
    {
      "page": "create_project_structure",
      "title": "Create a Standardized Project Folder Structure",
      "topics": [
        "create_project_structure"
      ]
    },
    {
      "page": "download_dhs_datasets",
      "title": "Download WHO ADM2 Boundaries with Partial Updateads the latest PR (household) and GE (geographic) DHS datasets for specified countries.",
      "topics": [
        "download_dhs_datasets"
      ]
    },
    {
      "page": "download_pop_rasters",
      "title": "Download population rasters for given country codes.",
      "topics": [
        "download_pop_rasters"
      ]
    },
    {
      "page": "download_shapefile",
      "title": "Download WHO ADM2 Boundaries with Partial Update",
      "topics": [
        "download_shapefile"
      ]
    },
    {
      "page": "extract_afurextent",
      "title": "Extract Urban/Rural Extent Raster",
      "topics": [
        "extract_afurextent"
      ]
    },
    {
      "page": "extract_age_param",
      "title": "Extract Parameters and Optimization Details with Log-Likelihood",
      "topics": [
        "extract_age_param"
      ]
    },
    {
      "page": "extract_betas",
      "title": "Extract Beta Parameters from Model Output",
      "topics": [
        "extract_betas"
      ]
    },
    {
      "page": "fit_spatial_model",
      "title": "Fit a Spatial Model for Age Parameters using TMB",
      "topics": [
        "fit_spatial_model"
      ]
    },
    {
      "page": "generate_age_pop_raster",
      "title": "Generate Age Population Raster",
      "topics": [
        "generate_age_pop_raster"
      ]
    },
    {
      "page": "generate_age_pop_table",
      "title": "Generate Age Population Tables",
      "topics": [
        "generate_age_pop_table"
      ]
    },
    {
      "page": "generate_age_pyramid_plot",
      "title": "Generate and Save Age Pyramid Plot",
      "topics": [
        "generate_age_pyramid_plot"
      ]
    },
    {
      "page": "generate_gamma_predictions",
      "title": "Predict Gamma Distribution Parameters for Spatial Grid",
      "topics": [
        "generate_gamma_predictions"
      ]
    },
    {
      "page": "generate_gamma_raster_plot",
      "title": "Generate and Save Raster Plot for Gamma Predictions",
      "topics": [
        "generate_gamma_raster_plot"
      ]
    },
    {
      "page": "generate_variogram_plot",
      "title": "Generate Variogram Plot",
      "topics": [
        "generate_variogram_plot"
      ]
    },
    {
      "page": "get_current_script_path",
      "title": "Get the path to the currently running script",
      "topics": [
        "get_current_script_path"
      ]
    },
    {
      "page": "init",
      "title": "Initialize Full Pipeline Script and Model Script",
      "topics": [
        "init"
      ]
    },
    {
      "page": "log_lik",
      "title": "Log-Likelihood Function for Spatial Model",
      "topics": [
        "log_lik"
      ]
    },
    {
      "page": "process_dhs_data",
      "title": "Process DHS Data: Merge RDS Files with Shapefiles and Extract Gamma Parameters",
      "topics": [
        "process_dhs_data"
      ]
    },
    {
      "page": "process_final_population_data",
      "title": "Process Final Population Data",
      "topics": [
        "process_final_population_data"
      ]
    },
    {
      "page": "process_gamma_predictions",
      "title": "Process Gamma Prediction Results",
      "topics": [
        "process_gamma_predictions"
      ]
    },
    {
      "page": "rasterize_data",
      "title": "Rasterize Spatial Data",
      "topics": [
        "rasterize_data"
      ]
    },
    {
      "page": "run_full_workflow",
      "title": "Run Country-Specific Spatial Modeling Workflow with Logging",
      "topics": [
        "run_full_workflow"
      ]
    },
    {
      "page": "simulate_dummy_dhs_pr",
      "title": "Simulate Processed DHS Survey Personal Records Data",
      "topics": [
        "simulate_dummy_dhs_pr"
      ]
    }
  ],
  "_pkglogo": "https://github.com/truenomad/agepopdenom/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/truenomad/agepopdenom/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "bit",
    "bit64",
    "brio",
    "class",
    "classInt",
    "cli",
    "clipr",
    "countrycode",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "FNN",
    "forcats",
    "foreign",
    "generics",
    "getPass",
    "ggplot2",
    "glue",
    "gstat",
    "gtable",
    "haven",
    "here",
    "hms",
    "httr",
    "intervals",
    "iotools",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "qdapRegex",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rdhs",
    "readr",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "s2",
    "S7",
    "scales",
    "sf",
    "sftime",
    "sp",
    "spacetime",
    "stars",
    "storr",
    "stringi",
    "stringr",
    "sys",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "TMB",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "wk",
    "xml2",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "using_agepopdenom.Rmd",
      "filename": "using_agepopdenom.html",
      "title": "Using AgePopDenom",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "System Requirements",
        "Platform-Specific Setup",
        "Windows",
        "AgePopDenom installation",
        "Workflow Overview",
        "1. Initialize a Project",
        "2. Gather data",
        "3. Run the Full Workflow",
        "3i. fit_spatial_model()",
        "3ii. generate_variogram_plot()",
        "3iii. create_prediction_data()",
        "3iv generate_gamma_predictions()",
        "3v. generate_gamma_raster_plot()",
        "3vi. generate_age_pop_table()",
        "3vii. generate_age_pyramid_plot()",
        "3viii. process_final_population_data()",
        "Example: Gambia"
      ],
      "created": "2025-01-17 09:27:53",
      "modified": "2025-07-21 14:48:10",
      "commits": 8
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "agepopdenom",
  "_universes": [
    "truenomad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-05-24T16:06:21.000Z",
      "distro": "noble",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "7199d3937689d91e41d0e354a9628c18231d2abe1f16c9f7809c0438ae4a748a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-05-24T16:06:14.000Z",
      "distro": "noble",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "bb71ec60b6458f768b8ed3f3fc41b842e25696c93c150242ac3335d038256f84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-05-24T16:05:36.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "f20ec3eb9d8bd39020d0d18a17815fb3093e32943511e1d7034d830fd98729f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-05-24T16:05:22.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "b8b608953f931e13bc9ce14e817750f4758e9ef021d95806e09066e0c2733b5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3",
      "date": "2026-05-24T16:06:12.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "c322bd9d1700ca3e8948f8fe22c14f482adc5382983ca820432a6da1ceb3c915",
      "status": "success",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-24T16:05:26.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "fe686570e226ed20977833a26ac45a60882ce5ebf242a5c2ce929c260811f8c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-24T16:05:10.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "a63c26c049641657e1676d8d5fd812c6059ee859c37a9f3394153c60607f2596",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-05-24T16:05:48.000Z",
      "commit": "37542e1a0effad6363af4879bb4952358987f85c",
      "fileid": "8d01be6f576707aa077e5b24f8e31b259bc191b452c00af10d1f3778a4d1b3ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/26365962330"
    }
  ]
}