{
  "_id": "6acf67dae2d863f662951b83",
  "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.3",
  "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-09-14 19:29:57 UTC",
  "RemoteUrl": "https://github.com/truenomad/agepopdenom",
  "RemoteRef": "HEAD",
  "RemoteSha": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 11:26:16 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>",
  "_user": "truenomad",
  "_type": "src",
  "_file": "AgePopDenom_1.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/48cd154ce7036f878f59580c086c52769b336c49b00e95bffab149f963279f3a",
  "_filesize": 1326019,
  "_sha256": "48cd154ce7036f878f59580c086c52769b336c49b00e95bffab149f963279f3a",
  "_expires": "2027-01-22T11:30:32.000Z",
  "_created": "2026-10-14T11:26:16.000Z",
  "_published": "2026-10-14T11:30:34.044Z",
  "_buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115827157943,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11889753339"
    },
    {
      "job": 115827158177,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890133143"
    },
    {
      "job": 115827158021,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11890063055"
    },
    {
      "job": 115827158137,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11889199362"
    },
    {
      "job": 115825756856,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11889747852"
    },
    {
      "job": 115827158006,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11888724482"
    },
    {
      "job": 115827158017,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11890177940"
    },
    {
      "job": 115827157900,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11890417755"
    },
    {
      "job": 115827157961,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11889114241"
    }
  ],
  "_upstream": "https://github.com/truenomad/agepopdenom",
  "_commit": {
    "id": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
    "author": "truenomad <mohamedayusuf87@gmail.com>",
    "committer": "truenomad <mohamedayusuf87@gmail.com>",
    "message": "Add city and country to WHO AFRO affiliation in Zenodo metadata\n",
    "time": 1789414197
  },
  "_maintainer": {
    "name": "Mohamed A. Yusuf",
    "email": "moyusuf@who.int",
    "orcid": "0000-0002-9339-4613"
  },
  "_distro": "resolute",
  "_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"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "truenomad",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.2.3",
      "date": "2026-09-14"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "truenomad",
      "count": 134,
      "uuid": 22276163
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 22276163,
    "type": "user",
    "name": "Mohamed A. Yusuf",
    "followers": 26,
    "description": "Experienced computational epidemiologist at intersection of epidemiology & data science, using data to solve complex questions on population health."
  },
  "_downloads": {
    "count": 402,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AgePopDenom"
  },
  "_devurl": "https://github.com/truenomad/agepopdenom",
  "_pkgdown": "https://truenomad.github.io/AgePopDenom/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/AgePopDenom.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "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": "2026-07-05 10:08:07",
      "commits": 9
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "agepopdenom",
  "_universes": [
    "truenomad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-10-14T11:28:44.000Z",
      "distro": "resolute",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/37000bf77dfb9dbf5150c4b071bc9de424d29d8a70fbaa20cd4b15f6364945df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-10-14T11:29:47.000Z",
      "distro": "resolute",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/04a3838d9a6527d7a90959daaeef40226ff3cd32dee6766e4f25c26a362b99c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-10-14T11:28:51.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/ad45504abb62290ff29de11c3c2b12e3315de3fa4a1c3e6fb5050b7b2e2c46a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-10-14T11:28:46.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/e701937ae89c491697cd34c2ea349fd7047fac8d5b6d127b736c8a826e65b9c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3",
      "date": "2026-10-14T11:28:36.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/79814cc0122048f20c3ac2c77dacd3963e08f4db6474f80749819de9841c173d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-10-14T11:27:39.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/2270a453b62cdb9eb705cada0b12051d4f9c9c50d8f18d87a5b67849913ce395",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-10-14T11:27:30.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/c8c9cca23a424d777da0b9b09449c26bb776757f911c6cb4822f2aa1794685b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-10-14T11:27:43.000Z",
      "commit": "b0f2984db7f2db16fe2dc47c834f6caa8b19e02a",
      "fileid": "https://r2.ropensci.org/4b2cf9c7c21f2a3960c9fe12c48bce15b1b018f12b152bdee634b77c422294db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/38556133760"
    }
  ]
}