{
  "_id": "6a10393bacfb0bcc41c9ad4c",
  "Package": "naomi",
  "Title": "Naomi Model for Subnational HIV Estimates",
  "Version": "2.10.20",
  "Authors@R": "person(given = \"Jeff\",\nfamily = \"Eaton\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jeffrey.eaton@imperial.ac.uk\",\ncomment = c(ORCID = \"0000-0001-7728-728X\"))",
  "Description": "This package implements the Naomi model for subnational\nHIV estimates.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Additional_repositories": "https://mrc-ide.r-universe.dev,\nhttps://duckdb.r-universe.dev",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "bergant/datamodelr",
    "qsbase/qs"
  ],
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libuv1-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev libnode-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://mrc-ide.r-universe.dev",
  "Date/Publication": "2026-03-10 10:05:58 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/naomi",
  "RemoteRef": "master",
  "RemoteSha": "dfad5c05264eba6df039a4424c33067e80783d77",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 09:55:14 UTC",
    "User": "root"
  },
  "Author": "Jeff Eaton [aut, cre] (ORCID: <https://orcid.org/0000-0001-7728-728X>)",
  "Maintainer": "Jeff Eaton <jeffrey.eaton@imperial.ac.uk>",
  "MD5sum": "a8441bc52689c99a4efaf629036df613",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "naomi_2.10.20.tar.gz",
  "_fileid": "112e1d0c75ce101703f3a50f3ea935f1c9ace0f175ddf542309d3451768244f5",
  "_filesize": 25448160,
  "_sha256": "112e1d0c75ce101703f3a50f3ea935f1c9ace0f175ddf542309d3451768244f5",
  "_created": "2026-05-12T09:55:14.000Z",
  "_published": "2026-05-22T11:08:43.015Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361535992,
      "time": 2558,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6941917744"
    },
    {
      "job": 77361535872,
      "time": 2709,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6941964597"
    },
    {
      "job": 77361536209,
      "time": 2482,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6941894073"
    },
    {
      "job": 77361536182,
      "time": 2589,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6941928080"
    },
    {
      "job": 77361536152,
      "time": 743,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6941355841"
    },
    {
      "job": 77361536295,
      "time": 1292,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6941543675"
    },
    {
      "job": 77361536172,
      "time": 810,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6941370763"
    },
    {
      "job": 77361535800,
      "time": 1922,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6941719182"
    },
    {
      "job": 77361535461,
      "time": 2142,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6941061271"
    },
    {
      "job": 77361535386,
      "time": 2606,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159043652"
    },
    {
      "job": 77361535945,
      "time": 960,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6941395798"
    },
    {
      "job": 77361536115,
      "time": 1004,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6941411464"
    },
    {
      "job": 77361535804,
      "time": 954,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6941394081"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/naomi",
  "_commit": {
    "id": "dfad5c05264eba6df039a4424c33067e80783d77",
    "author": "Rob <39248272+r-ash@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #484 from mrc-ide/fix-anc-areas-display-t4\n\nFix anc areas display t4",
    "time": 1773137158
  },
  "_maintainer": {
    "name": "Jeff Eaton",
    "email": "jeffrey.eaton@imperial.ac.uk",
    "login": "jeffeaton",
    "orcid": "0000-0001-7728-728X",
    "uuid": 7427899
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.6.5",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "brio",
      "role": "Imports"
    },
    {
      "package": "data.tree",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "eppasm",
      "version": ">= 0.8.3",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "first90",
      "version": ">= 1.7.1",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "naomi.options",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "prettyunits",
      "role": "Imports"
    },
    {
      "package": "qs2",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "traduire",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "zip",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "datamodelr",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "version": ">= 0.10.0",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "mockr",
      "role": "Suggests"
    },
    {
      "package": "qs",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "r-ash",
      "count": 1145,
      "uuid": 39248272
    },
    {
      "user": "jeffeaton",
      "count": 1039,
      "uuid": 7427899
    },
    {
      "user": "rtesra",
      "count": 346,
      "uuid": 70330391
    },
    {
      "user": "richfitz",
      "count": 108,
      "uuid": 1558093
    },
    {
      "user": "osymandius",
      "count": 10,
      "uuid": 15030147
    },
    {
      "user": "m-kusumgar",
      "count": 7,
      "uuid": 98405247
    },
    {
      "user": "hillalex",
      "count": 2,
      "uuid": 6736820
    },
    {
      "user": "emmalrussell",
      "count": 2,
      "uuid": 44669576
    },
    {
      "user": "potoole7",
      "count": 2,
      "uuid": 77847248
    },
    {
      "user": "gaborcsardi",
      "count": 1,
      "uuid": 660288
    },
    {
      "user": "nicolas-dolan",
      "count": 1,
      "uuid": 57633087
    }
  ],
  "_userbio": {
    "uuid": 25453642,
    "type": "organization",
    "name": "MRC Centre for Global Infectious Disease Analysis",
    "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/naomi"
  },
  "_devurl": "https://github.com/mrc-ide/naomi",
  "_searchresults": 59,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/naomi.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "add_output_labels",
    "age_bar_plotly",
    "aggregate_anc",
    "aggregate_art",
    "align_inputs_outputs",
    "anc_testing_artcov_mf",
    "anc_testing_clients_mf",
    "anc_testing_prev_mf",
    "artnum_mf",
    "bar_plotly",
    "build_hierarchy_label",
    "calculate_prevalence_art_coverage",
    "calendar_quarter_labels",
    "calendar_quarter_labels_short",
    "calendar_quarter_to_quarter",
    "calendar_quarter_to_quarter_id",
    "calendar_quarter_to_year",
    "calibrate_outputs",
    "cmc_date",
    "convert_calendar_quarter",
    "convert_quarter_id",
    "create_adj_matrix",
    "create_area_aggregation",
    "create_areas",
    "create_edge_list",
    "cut_naomi_age_group",
    "data_type_labels",
    "disaggregate_0to4_outputs",
    "district_barplot",
    "extract_pjnz_naomi",
    "extract_pjnz_program_data",
    "extract_shiny90_age_sex",
    "fit_tmb",
    "get_age_groups",
    "get_anc_metadata",
    "get_area_collection",
    "get_art_metadata",
    "get_five_year_age_groups",
    "get_meta_indicator",
    "get_metadata",
    "get_plot_type_column_metadata",
    "get_plotting_metadata",
    "hintr_calibrate",
    "hintr_calibrate_plot",
    "hintr_comparison_plot",
    "hintr_prepare_agyw_download",
    "hintr_prepare_coarse_age_group_download",
    "hintr_prepare_comparison_report_download",
    "hintr_prepare_datapack_download",
    "hintr_prepare_spectrum_download",
    "hintr_prepare_summary_report_download",
    "hintr_run_model",
    "hintr_validate_anc_programme_data",
    "hintr_validate_art_programme_data",
    "interpolate_population_agesex",
    "log_linear_interp",
    "map_outputs",
    "naomi_model_frame",
    "naomi_objective_function_r",
    "naomi_output_frame",
    "output_package",
    "pop_pyramid_outputs",
    "prepare_input_time_series_anc",
    "prepare_input_time_series_art",
    "prepare_spectrum_naomi_comparison",
    "prepare_tmb_inputs",
    "quarter_id_to_calendar_quarter",
    "quarter_labels",
    "quarter_number",
    "quarter_year_labels",
    "read_anc_testing",
    "read_area_merged",
    "read_art_number",
    "read_hintr_output",
    "read_output_package",
    "read_population",
    "read_spectrum_projection_name",
    "read_spectrum_region_code",
    "read_spectrum_region_name",
    "read_survey_indicators",
    "report_tmb",
    "sample_tmb",
    "save_output",
    "save_output_package",
    "scale_gmrf_precision",
    "scatter_plotly",
    "select_naomi_data",
    "spread_areas",
    "subset_output_package",
    "survey_mf",
    "th_map",
    "validate_model_options",
    "write_datapack_csv",
    "write_navigator_checklist",
    "year_labels"
  ],
  "_datasets": [
    {
      "name": "demo_anc_testing",
      "title": "Programme data: Malawi routine HIV service delivery data",
      "object": "demo_anc_testing",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "area_id",
        "area_name",
        "age_group",
        "year",
        "anc_clients",
        "anc_known_pos",
        "anc_already_art",
        "anc_tested",
        "anc_tested_pos",
        "anc_known_neg",
        "births_facility"
      ],
      "rows": 416,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_area_boundaries",
      "title": "Malawi area boundaries.",
      "object": "demo_area_boundaries",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "area_id",
        "geometry"
      ],
      "rows": 69,
      "table": false,
      "tojson": true
    },
    {
      "name": "demo_area_hierarchy",
      "title": "Malawi area hierarchy",
      "object": "demo_area_hierarchy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "area_id",
        "area_name",
        "area_level",
        "parent_area_id",
        "spectrum_region_code",
        "area_sort_order",
        "center_x",
        "center_y"
      ],
      "rows": 69,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_area_levels",
      "title": "Malawi area levels.",
      "object": "demo_area_levels",
      "class": [
        "data.frame"
      ],
      "fields": [
        "area_level",
        "n_areas",
        "area_level_label",
        "display",
        "spectrum_level",
        "epp_level",
        "epp_urban_rural",
        "naomi_level",
        "pepfar_psnu_level"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_areas",
      "title": "",
      "object": "demo_areas",
      "class": [
        "data.frame"
      ],
      "fields": [
        "area_id",
        "area_name",
        "area_level",
        "parent_area_id",
        "spectrum_region_code",
        "area_sort_order",
        "center_x",
        "center_y",
        "area_level_label",
        "display",
        "naomi_level",
        "geometry"
      ],
      "rows": 69,
      "table": false,
      "tojson": true
    },
    {
      "name": "demo_art_number",
      "title": "Programme data: Malawi routine HIV service delivery data",
      "object": "demo_art_number",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "area_id",
        "area_name",
        "sex",
        "age_group",
        "year",
        "calendar_quarter",
        "art_current",
        "art_current_adjusted",
        "art_adjustment_factor",
        "art_new",
        "vl_tested_12mos",
        "vl_suppressed_12mos"
      ],
      "rows": 830,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_population_agesex",
      "title": "Malawi age-sex stratified population data",
      "object": "demo_population_agesex",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "area_id",
        "source",
        "calendar_quarter",
        "sex",
        "age_group",
        "population",
        "area_name",
        "asfr"
      ],
      "rows": 25024,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_biomarker",
      "title": "Malawi survye biomarkers",
      "object": "demo_survey_biomarker",
      "class": [
        "data.frame"
      ],
      "fields": [
        "survey_id",
        "individual_id",
        "hivweight",
        "hivstatus",
        "arv",
        "artself",
        "vls",
        "cd4",
        "recent"
      ],
      "rows": 0,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_clusters",
      "title": "Malawi survey clusters",
      "object": "demo_survey_clusters",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "survey_id",
        "cluster_id",
        "res_type",
        "survey_region_id",
        "longitude",
        "latitude",
        "geoloc_area_id",
        "geoloc_distance"
      ],
      "rows": 0,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_hiv_indicators",
      "title": "Malawi HIV indicators",
      "object": "demo_survey_hiv_indicators",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "indicator",
        "survey_id",
        "survey_mid_calendar_quarter",
        "area_id",
        "area_name",
        "res_type",
        "sex",
        "age_group",
        "n_clusters",
        "n_observations",
        "n_eff_kish",
        "estimate",
        "std_error",
        "ci_lower",
        "ci_upper"
      ],
      "rows": 35843,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_individuals",
      "title": "Malawi survey individuals",
      "object": "demo_survey_individuals",
      "class": [
        "data.frame"
      ],
      "fields": [
        "survey_id",
        "cluster_id",
        "individual_id",
        "household",
        "line",
        "interview_cmc",
        "sex",
        "age",
        "dob_cmc",
        "indweight"
      ],
      "rows": 0,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_meta",
      "title": "Malawi survey metadata",
      "object": "demo_survey_meta",
      "class": [
        "data.frame"
      ],
      "fields": [
        "iso3",
        "survey_id",
        "country",
        "survey_type",
        "survey_year",
        "fieldwork_start",
        "fieldwork_end",
        "survey_mid_calendar_quarter",
        "female_age_min",
        "female_age_max",
        "male_age_min",
        "male_age_max",
        "report_ref",
        "dataset_ref",
        "notes"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    },
    {
      "name": "demo_survey_regions",
      "title": "Malawi survey regions",
      "object": "demo_survey_regions",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "iso3",
        "survey_id",
        "survey_region_id",
        "survey_region_name",
        "survey_region_area_id"
      ],
      "rows": 84,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_output_labels",
      "title": "Add labels to output indicators",
      "topics": [
        "add_output_labels"
      ]
    },
    {
      "page": "age_bar_plotly",
      "title": "Plotly barplot comparing age distribution of survey inputs and naomi outputs",
      "topics": [
        "age_bar_plotly"
      ]
    },
    {
      "page": "aggregate_anc",
      "title": "Aggregate ANC data according to area hierarchy",
      "topics": [
        "aggregate_anc"
      ]
    },
    {
      "page": "aggregate_art",
      "title": "Aggregate ART data according to area hierarchy",
      "topics": [
        "aggregate_art"
      ]
    },
    {
      "page": "align_inputs_outputs",
      "title": "Align model data inputs and model estimates",
      "topics": [
        "align_inputs_outputs"
      ]
    },
    {
      "page": "anc_testing_prev_mf",
      "title": "Prepare Model Frames for Programme Datasets",
      "topics": [
        "anc_testing_artcov_mf",
        "anc_testing_clients_mf",
        "anc_testing_prev_mf"
      ]
    },
    {
      "page": "artnum_mf",
      "title": "Build artnum model frame",
      "topics": [
        "artnum_mf"
      ]
    },
    {
      "page": "assert_pjnz_shiny90",
      "title": "Check whether PJNZ contains .shiny90 file",
      "topics": [
        "assert_pjnz_shiny90"
      ]
    },
    {
      "page": "bar_plotly",
      "title": "Plotly barplot comparing geographical distribution of data inputs and naomi outputs",
      "topics": [
        "bar_plotly"
      ]
    },
    {
      "page": "build_hierarchy_label",
      "title": "Return the translated label & description for a set of plot types",
      "topics": [
        "build_hierarchy_label"
      ]
    },
    {
      "page": "calculate_prevalence_art_coverage",
      "title": "Calculate prevalence and ART coverage from ANC input data",
      "topics": [
        "calculate_prevalence_art_coverage"
      ]
    },
    {
      "page": "calibrate_outputs",
      "title": "Calibrate naomi model outputs",
      "topics": [
        "calibrate_outputs"
      ]
    },
    {
      "page": "cmc_date",
      "title": "Convert Date to Century Month Code (CMC)",
      "topics": [
        "cmc_date"
      ]
    },
    {
      "page": "create_adj_matrix",
      "title": "Create adjacency matrix from spatial polygons",
      "topics": [
        "create_adj_matrix"
      ]
    },
    {
      "page": "create_area_aggregation",
      "title": "Long data frame mapping area hierarchy areas to model level areas",
      "topics": [
        "create_area_aggregation"
      ]
    },
    {
      "page": "create_areas",
      "title": "Create an Areas Object",
      "topics": [
        "create_areas"
      ]
    },
    {
      "page": "create_edge_list",
      "title": "Create edgelist from adjacency matrix",
      "topics": [
        "create_edge_list"
      ]
    },
    {
      "page": "cut_naomi_age_group",
      "title": "Cut Five Year Age Groups",
      "topics": [
        "cut_naomi_age_group"
      ]
    },
    {
      "page": "data_type_labels",
      "title": "Get id to label mapping for calibration plot data type",
      "topics": [
        "data_type_labels"
      ]
    },
    {
      "page": "demo_anc_testing",
      "title": "Programme data: Malawi routine HIV service delivery data",
      "topics": [
        "demo_anc_testing",
        "demo_art_number"
      ]
    },
    {
      "page": "demo_area_boundaries",
      "title": "Malawi area boundaries.",
      "topics": [
        "demo_area_boundaries"
      ]
    },
    {
      "page": "demo_area_hierarchy",
      "title": "Malawi area hierarchy",
      "topics": [
        "demo_area_hierarchy"
      ]
    },
    {
      "page": "demo_area_levels",
      "title": "Malawi area levels.",
      "topics": [
        "demo_area_levels"
      ]
    },
    {
      "page": "demo_population_agesex",
      "title": "Malawi age-sex stratified population data",
      "topics": [
        "demo_population_agesex"
      ]
    },
    {
      "page": "demo_survey_biomarker",
      "title": "Malawi survye biomarkers",
      "topics": [
        "demo_survey_biomarker"
      ]
    },
    {
      "page": "demo_survey_clusters",
      "title": "Malawi survey clusters",
      "topics": [
        "demo_survey_clusters"
      ]
    },
    {
      "page": "demo_survey_hiv_indicators",
      "title": "Malawi HIV indicators",
      "topics": [
        "demo_survey_hiv_indicators"
      ]
    },
    {
      "page": "demo_survey_individuals",
      "title": "Malawi survey individuals",
      "topics": [
        "demo_survey_individuals"
      ]
    },
    {
      "page": "demo_survey_meta",
      "title": "Malawi survey metadata",
      "topics": [
        "demo_survey_meta"
      ]
    },
    {
      "page": "demo_survey_regions",
      "title": "Malawi survey regions",
      "topics": [
        "demo_survey_regions"
      ]
    },
    {
      "page": "disaggregate_0to4_outputs",
      "title": "Disaggregate age 0-4 outputs to <1 / 1-4",
      "topics": [
        "disaggregate_0to4_outputs"
      ]
    },
    {
      "page": "district_barplot",
      "title": "Create district bar plot",
      "topics": [
        "district_barplot"
      ]
    },
    {
      "page": "dropdown_buttons",
      "title": "Automatically make drop drop buttons for plotly filter",
      "topics": [
        "dropdown_buttons"
      ]
    },
    {
      "page": "extract_pjnz_naomi",
      "title": "Extract Model Inputs from Spectrum PJNZ",
      "topics": [
        "extract_pjnz_naomi"
      ]
    },
    {
      "page": "extract_pjnz_program_data",
      "title": "Extract ART and ANC testing program data inputs from Spectrum PJNZ",
      "topics": [
        "extract_pjnz_program_data"
      ]
    },
    {
      "page": "extract_shiny90_age_sex",
      "title": "Export proportion aware by five year age group from Shiny90",
      "topics": [
        "extract_shiny90_age_sex"
      ]
    },
    {
      "page": "fit_tmb",
      "title": "Fit TMB model",
      "topics": [
        "fit_tmb"
      ]
    },
    {
      "page": "get_age_groups",
      "title": "Data frame of age groups",
      "topics": [
        "get_age_groups"
      ]
    },
    {
      "page": "get_anc_metadata",
      "title": "Metadata for ANC plot types used in the input time series plots. Mainly for internal use.",
      "topics": [
        "get_anc_metadata"
      ]
    },
    {
      "page": "get_area_collection",
      "title": "Get a collection of areas",
      "topics": [
        "get_area_collection"
      ]
    },
    {
      "page": "get_art_metadata",
      "title": "Metadata for ART plot types used in the input time series plots. Mainly for internal use.",
      "topics": [
        "get_art_metadata"
      ]
    },
    {
      "page": "get_five_year_age_groups",
      "title": "Get 5 year age groups",
      "topics": [
        "get_five_year_age_groups"
      ]
    },
    {
      "page": "get_meta_indicator",
      "title": "Get indicator metadata",
      "topics": [
        "get_meta_indicator"
      ]
    },
    {
      "page": "get_metadata",
      "title": "Get indicator metadata as a data frame",
      "topics": [
        "get_metadata"
      ]
    },
    {
      "page": "get_plot_type_column_metadata",
      "title": "Return the translated label & description for a set of plot types",
      "topics": [
        "get_plot_type_column_metadata"
      ]
    },
    {
      "page": "get_plotting_metadata",
      "title": "Get plotting metadata for a particular country",
      "topics": [
        "get_plotting_metadata"
      ]
    },
    {
      "page": "get_spec_aggr_interpolation",
      "title": "Interpolate Spectrum to quarter_id",
      "topics": [
        "get_spec_aggr_interpolation"
      ]
    },
    {
      "page": "hintr_calibrate",
      "title": "Calibrate hintr_output",
      "topics": [
        "hintr_calibrate"
      ]
    },
    {
      "page": "hintr_calibrate_plot",
      "title": "Get data for hintr calibrate plot",
      "topics": [
        "hintr_calibrate_plot"
      ]
    },
    {
      "page": "hintr_comparison_plot",
      "title": "Get data for hintr comparison plot",
      "topics": [
        "hintr_comparison_plot"
      ]
    },
    {
      "page": "hintr_prepare_agyw_download",
      "title": "Prepare AGYW tool download",
      "topics": [
        "hintr_prepare_agyw_download"
      ]
    },
    {
      "page": "hintr_prepare_coarse_age_group_download",
      "title": "Prepare coarse age group download",
      "topics": [
        "hintr_prepare_coarse_age_group_download"
      ]
    },
    {
      "page": "hintr_prepare_comparison_report_download",
      "title": "Prepare comparison report download",
      "topics": [
        "hintr_prepare_comparison_report_download"
      ]
    },
    {
      "page": "hintr_prepare_datapack_download",
      "title": "Prepare Datapack download",
      "topics": [
        "hintr_prepare_datapack_download"
      ]
    },
    {
      "page": "hintr_prepare_spectrum_download",
      "title": "Prepare spectrum download",
      "topics": [
        "hintr_prepare_spectrum_download"
      ]
    },
    {
      "page": "hintr_prepare_summary_report_download",
      "title": "Prepare summary report download",
      "topics": [
        "hintr_prepare_summary_report_download"
      ]
    },
    {
      "page": "hintr_run_model",
      "title": "Run the model and save output",
      "topics": [
        "hintr_run_model"
      ]
    },
    {
      "page": "hintr_validate_anc_programme_data",
      "title": "Run validation for subnational programme data input",
      "topics": [
        "hintr_validate_anc_programme_data"
      ]
    },
    {
      "page": "hintr_validate_art_programme_data",
      "title": "Run validation for subnational programme data input",
      "topics": [
        "hintr_validate_art_programme_data"
      ]
    },
    {
      "page": "Imports",
      "title": "We need to import these as they are used by dependencies (first90) unalified and need to be available in the package environment for the tests to be able to run in a background progress (i.e. when running in parllel)",
      "topics": [
        "Imports"
      ]
    },
    {
      "page": "interpolate_population_agesex",
      "title": "Log-linear interpolation of age/sex stratified population",
      "topics": [
        "interpolate_population_agesex"
      ]
    },
    {
      "page": "log_linear_interp",
      "title": "Log-linear interpolation of NA values",
      "topics": [
        "log_linear_interp"
      ]
    },
    {
      "page": "map_outputs",
      "title": "Create output map plot",
      "topics": [
        "map_outputs"
      ]
    },
    {
      "page": "naomi_model_frame",
      "title": "Construct Model Frames and Adjacency Structures",
      "topics": [
        "naomi_model_frame"
      ]
    },
    {
      "page": "naomi_objective_function_r",
      "title": "R implementation of Naomi model",
      "topics": [
        "naomi_objective_function_r"
      ]
    },
    {
      "page": "naomi_output_frame",
      "title": "Model Frame and Linear Transform for Aggregated Model Outputs",
      "topics": [
        "naomi_output_frame"
      ]
    },
    {
      "page": "output_naomi_warning",
      "title": "Generate naomi warning for specific strata of simulated outputs",
      "topics": [
        "output_naomi_warning"
      ]
    },
    {
      "page": "output_package",
      "title": "Build output package from fit",
      "topics": [
        "output_package"
      ]
    },
    {
      "page": "pop_pyramid_outputs",
      "title": "Create population pyramid plot",
      "topics": [
        "pop_pyramid_outputs"
      ]
    },
    {
      "page": "prepare_input_time_series_anc",
      "title": "Prepare data for ANC input time series plots",
      "topics": [
        "prepare_input_time_series_anc"
      ]
    },
    {
      "page": "prepare_input_time_series_art",
      "title": "Prepare data for ART input time series plots",
      "topics": [
        "prepare_input_time_series_art"
      ]
    },
    {
      "page": "prepare_spectrum_naomi_comparison",
      "title": "Compare aggregated subnational Naomi + spectrum totals for comparison table",
      "topics": [
        "prepare_spectrum_naomi_comparison"
      ]
    },
    {
      "page": "prepare_tmb_inputs",
      "title": "Prepare inputs for TMB model.",
      "topics": [
        "prepare_tmb_inputs"
      ]
    },
    {
      "page": "quarter_year_labels",
      "title": "Time period indexing",
      "topics": [
        "calendar_quarter_labels",
        "calendar_quarter_labels_short",
        "calendar_quarter_to_quarter",
        "calendar_quarter_to_quarter_id",
        "calendar_quarter_to_year",
        "convert_calendar_quarter",
        "convert_quarter_id",
        "quarter_id_to_calendar_quarter",
        "quarter_labels",
        "quarter_number",
        "quarter_year_labels",
        "year_labels"
      ]
    },
    {
      "page": "read_hintr_output",
      "title": "Read hintr output",
      "topics": [
        "read_hintr_output"
      ]
    },
    {
      "page": "read_population",
      "title": "Read Naomi structured input files",
      "topics": [
        "read_anc_testing",
        "read_area_merged",
        "read_art_number",
        "read_population",
        "read_survey_indicators"
      ]
    },
    {
      "page": "read_spectrum_projection_name",
      "title": "Read Spectrum Projection Name from Spectrum PJNZ",
      "topics": [
        "read_spectrum_projection_name"
      ]
    },
    {
      "page": "read_spectrum_region_code",
      "title": "Read Subnational Region Code from Spectrum PJNZ",
      "topics": [
        "read_spectrum_region_code"
      ]
    },
    {
      "page": "read_spectrum_region_name",
      "title": "Read Subnational Region Name from Spectrum PJNZ",
      "topics": [
        "read_spectrum_region_name"
      ]
    },
    {
      "page": "report_tmb",
      "title": "Calculate Posterior Mean and Uncertainty Via TMB 'sdreport()'",
      "topics": [
        "report_tmb"
      ]
    },
    {
      "page": "sample_tmb",
      "title": "Sample TMB fit",
      "topics": [
        "sample_tmb"
      ]
    },
    {
      "page": "save_output",
      "title": "Save outputs to zip file",
      "topics": [
        "save_output"
      ]
    },
    {
      "page": "save_output_package",
      "title": "Save outputs to zip file",
      "topics": [
        "read_output_package",
        "save_output_package"
      ]
    },
    {
      "page": "scale_gmrf_precision",
      "title": "Scale of GMRF precision matrix",
      "topics": [
        "scale_gmrf_precision"
      ]
    },
    {
      "page": "scatter_plotly",
      "title": "Plotly scatterplot data inputs and naomi outputs",
      "topics": [
        "scatter_plotly"
      ]
    },
    {
      "page": "select_naomi_data",
      "title": "Select data for model fitting",
      "topics": [
        "select_naomi_data"
      ]
    },
    {
      "page": "spread_areas",
      "title": "Spread area hierarchy to wide format",
      "topics": [
        "spread_areas"
      ]
    },
    {
      "page": "subset_naomi_output",
      "title": "Subset the results returned in Naomi output package",
      "topics": [
        "subset_naomi_output"
      ]
    },
    {
      "page": "subset_output_package",
      "title": "Resave a subsetted Naomi output package",
      "topics": [
        "subset_output_package"
      ]
    },
    {
      "page": "survey_mf",
      "title": "Prepare model frames for survey datasets",
      "topics": [
        "survey_mf"
      ]
    },
    {
      "page": "th_map",
      "title": "'ggplot2' theme for plotting maps",
      "topics": [
        "th_map"
      ]
    },
    {
      "page": "validate_model_options",
      "title": "Validate a set of model options",
      "topics": [
        "validate_model_options"
      ]
    },
    {
      "page": "write_datapack_csv",
      "title": "Export naomi outputs to PEPFAR Data Pack format",
      "topics": [
        "write_datapack_csv"
      ]
    },
    {
      "page": "write_navigator_checklist",
      "title": "Write UNAIDS Estimates Navigator checklist CSV",
      "topics": [
        "write_navigator_checklist"
      ]
    }
  ],
  "_readme": "https://github.com/mrc-ide/naomi/raw/master/README.md",
  "_rundeps": [
    "abind",
    "anclik",
    "askpass",
    "assertthat",
    "base64enc",
    "BH",
    "bigD",
    "binom",
    "bit",
    "bit64",
    "bitops",
    "boot",
    "brio",
    "bslib",
    "cachem",
    "cellranger",
    "class",
    "classInt",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "crosstalk",
    "curl",
    "data.table",
    "data.tree",
    "DBI",
    "deldir",
    "digest",
    "dplyr",
    "e1071",
    "epp",
    "eppasm",
    "evaluate",
    "farver",
    "fastmap",
    "fastmatch",
    "first90",
    "fontawesome",
    "forcats",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gt",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "mvtnorm",
    "naomi.options",
    "openssl",
    "openxlsx",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "prettyunits",
    "progress",
    "promises",
    "proxy",
    "purrr",
    "qs2",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reactable",
    "reactR",
    "readr",
    "readxl",
    "rematch",
    "reshape2",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "sp",
    "spData",
    "spdep",
    "stringfish",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "TMB",
    "traduire",
    "tzdb",
    "units",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "wk",
    "writexl",
    "xfun",
    "xml2",
    "yaml",
    "zip",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "data-model.Rmd",
      "filename": "data-model.html",
      "title": "Naomi data model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data model diagramme",
        "Areas data",
        "Population data",
        "Survey data",
        "Programme data"
      ],
      "created": "2019-08-28 15:31:45",
      "modified": "2020-12-07 12:06:41",
      "commits": 12
    },
    {
      "source": "model-workflow.Rmd",
      "filename": "model-workflow.html",
      "title": "Naomi Model Workflow Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "0. Prepare webtool GeoJSON input",
        "1. (Up)Load data inputs",
        "2. Choose model areas and time points",
        "3. Review input data",
        "4. Prepare model inputs"
      ],
      "created": "2019-09-26 18:07:40",
      "modified": "2024-11-18 09:48:59",
      "commits": 10
    }
  ],
  "_score": 7.281397021848756,
  "_indexed": true,
  "_nocasepkg": "naomi",
  "_universes": [
    "mrc-ide",
    "jeffeaton"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.10.20",
      "date": "2026-05-12T10:30:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "b2ae030dd4292d238b8d3f151bc5e1d9104f6607a6600ec55364a60e4cf936e9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.10.20",
      "date": "2026-05-12T10:31:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "be3aecf746e95becb76e41cb48adabd7279750dccf469bcd827c1529839b91c9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.10.20",
      "date": "2026-05-12T10:29:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "f56112dbf40bfd5b7f0c571962a361392aae3970fe07ad8bfade6d588dfedf1d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.10.20",
      "date": "2026-05-12T10:30:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "bd1e62ef33e81c807ece19a8c96574bc24271ad0a8857626e899c52522cbf202",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.10.20",
      "date": "2026-05-12T10:00:42.000Z",
      "arch": "aarch64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "b0034963016a89a50a924824e2d7bede2aca49c99f224616e354be19d3aafec3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.10.20",
      "date": "2026-05-12T10:03:21.000Z",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "92f110c0cd4e591c2b9f7e73adc79f6b941d211317215b7bd9e961a42135196b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.10.20",
      "date": "2026-05-12T10:00:27.000Z",
      "arch": "aarch64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "7c7091379fa29cbd3a66e82729202e6f7763b086f08b992101d30f58bbeb9f30",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.10.20",
      "date": "2026-05-12T10:04:15.000Z",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "1d5400ddf44f4fdd4a1438a63011c3c709f6900fc9a4fc611b683e664590ab67",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.10.20",
      "date": "2026-05-12T09:59:28.000Z",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "d889d9d0ce448ec0d853e492a6ae8611c6f5c3bcf7a1a546a29b86ea8d875c28",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.10.20",
      "date": "2026-05-12T09:59:34.000Z",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "c5c47966ef58ab128a44d4c51dffff99f75a67455795cd15ec30f812b03f38b6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.10.20",
      "date": "2026-05-12T09:59:30.000Z",
      "arch": "x86_64",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "35abbc428f46e4bd139522677991f8fdc54aa1b91cbd240dfe764ecb6b296f87",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.10.20",
      "date": "2026-05-22T11:07:52.000Z",
      "arch": "emscripten",
      "commit": "dfad5c05264eba6df039a4424c33067e80783d77",
      "fileid": "0f01cd69473a1c12bb0acea80afc0350e23ba50bbd0bd07b28c2c12b93357645",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25725381887"
    }
  ]
}