{
  "_id": "6a4a75e61e9cffeb4b833ae7",
  "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-07-05 14:52:11 UTC",
  "RemoteUrl": "https://github.com/truenomad/agepopdenom",
  "RemoteRef": "HEAD",
  "RemoteSha": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 15:14:44 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/8c612d1128cef902954e9fd51caba9d46942065f23f6c2c8f310773487276362",
  "_filesize": 1327375,
  "_sha256": "8c612d1128cef902954e9fd51caba9d46942065f23f6c2c8f310773487276362",
  "_expires": "2026-10-13T15:19:00.000Z",
  "_created": "2026-07-05T15:14:44.000Z",
  "_published": "2026-07-05T15:19:02.205Z",
  "_jobs": [
    {
      "job": 85235070316,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093087032"
    },
    {
      "job": 85235070315,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093082401"
    },
    {
      "job": 85235070290,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093070920"
    },
    {
      "job": 85235070298,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093070343"
    },
    {
      "job": 85234762268,
      "time": 252,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093059308"
    },
    {
      "job": 85235070285,
      "time": 186,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8093083584"
    },
    {
      "job": 85235070304,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093074172"
    },
    {
      "job": 85235070301,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093073790"
    },
    {
      "job": 85235070306,
      "time": 151,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093079085"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645",
  "_status": "success",
  "_upstream": "https://github.com/truenomad/agepopdenom",
  "_commit": {
    "id": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
    "author": "Mohamed Yusuf <mohamedayusuf87@gmail.com>",
    "committer": "Mohamed Yusuf <mohamedayusuf87@gmail.com>",
    "message": "Use implicit returns and fix a message typo (lint cleanup)\n\nConvert three terminal explicit return() calls to implicit returns\n(return_linter) in extract_afurextent(), generate_age_pop_table(), and\nprocess_final_population_data(), and fix 'paramters' -> 'parameters' in a\nsuccess message. R source now passes CodeFactor's lintr config with zero\nissues.\n",
    "time": 1783263131
  },
  "_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": "2025-28",
      "n": 20
    },
    {
      "week": "2025-30",
      "n": 26
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "truenomad",
      "count": 129,
      "uuid": 22276163
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 22276163,
    "type": "user",
    "name": "Mohamed A. Yusuf",
    "followers": 25,
    "description": "Experienced computational epidemiologist at intersection of epidemiology & data science, using data to solve complex questions on population health."
  },
  "_downloads": {
    "count": 311,
    "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.1",
  "_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",
    "LICENSE",
    "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": "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-07-05T15:18:13.000Z",
      "distro": "resolute",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/7018f0662a1dd62204227d900e9a2ffcc516f078925e8f7b014708a955778ae5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-07-05T15:17:38.000Z",
      "distro": "resolute",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/970b372909d3c5792e22f665b39d036dcd7f234a8935f86bde45d7f9a5bf8d5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-07-05T15:16:16.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/cd8ba67246e1b0811533a254843573eab64745edfe3012d3e89e12d08f94100f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-07-05T15:16:11.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/a0efd8cbd1bb79d94a135234c735836b952350ba21c0e9f446aae21074c30f65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3",
      "date": "2026-07-05T15:18:07.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/3c362f285b72c4ddf3038978a517f38173e9caf2c1cec7b19b77933bdbb3b8f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-07-05T15:16:28.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/c6507de78372596768f04a1733d0eed132d6e757456667764191217b3a230d5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-07-05T15:16:26.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/9804d544ff8ad70eca226122fc42cad8d6eb8f921d7ee49ce16c675c30ae4096",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-07-05T15:17:01.000Z",
      "commit": "e6cb7432f9f2947e7162d69bfdec9287633f042a",
      "fileid": "https://r2.ropensci.org/3bbdf3b8e080ad3865a6464ee54c6c21c1d955675f8e0cee360ad27c9fb40a45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/truenomad/actions/runs/28745172645"
    }
  ]
}