{
  "_id": "6a101f7cacfb0bcc41c8b3b3",
  "Package": "conmat",
  "Title": "Builds Contact Matrices using Generalised Additive Models (GAMs)\nand Population Data",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(given = \"Nicholas\",\nfamily = \"Tierney\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"nicholas.tierney@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1460-8722\")),\nperson(given = \"Nick\",\nfamily = \"Golding\",\nrole = \"aut\",\nemail = \"nick.golding.research@gmail.com\",\ncomment = c(ORCID = \"0000-0001-8916-5570\")),\nperson(given = \"Aarathy\",\nfamily = \"Babu\",\nrole = c(\"aut\"),\nemail = \"aarathybabu907@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6982-5989\")),\nperson(given = \"Chitra\",\nfamily = \"Saraswati\",\nrole = c(\"aut\"),\nemail = \"chitra.saraswati@telethonkids.org.au\",\ncomment = c(ORCID = \"0000-0002-8159-0414\")),\nperson(given = \"Michael\",\nfamily = \"Lydeamore\",\nrole = \"aut\",\nemail = \"michael.lydeamore@monash.edu\",\ncomment = c(ORCID = \"0000-0001-6515-827X\")),\nperson(\"Commonwealth of Australia\", \"AEC\", role = c(\"cph\")),\nperson(\"Australian Bureau of Statistics\", \"ABS\", role = c(\"cph\"))\n)",
  "Description": "Builds contact matrices using Generalised Additive Models\n(GAMs) and population data, as described in Tierney, Saraswati,\nBabu, Lydeamore, and Golding (2026) <doi:10.21105/joss.08326>.\nThis package incorporates data that is copyright Commonwealth\nof Australia (Australian Electoral Commission and Australian\nBureau of Statistics) 2020.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://idem-lab.github.io/conmat/,\nhttps://github.com/idem-lab/conmat",
  "BugReports": "https://github.com/idem-lab/conmat/issues",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev",
  "Repository": "https://idem-lab.r-universe.dev",
  "Date/Publication": "2026-02-13 05:42:29 UTC",
  "RemoteUrl": "https://github.com/idem-lab/conmat",
  "RemoteRef": "HEAD",
  "RemoteSha": "4e8982781e895736db903d52fb6e3a0b48271dcf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:50:26 UTC",
    "User": "root"
  },
  "Author": "Nicholas Tierney [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1460-8722>),\nNick Golding [aut] (ORCID: <https://orcid.org/0000-0001-8916-5570>),\nAarathy Babu [aut] (ORCID: <https://orcid.org/0000-0002-6982-5989>),\nChitra Saraswati [aut] (ORCID: <https://orcid.org/0000-0002-8159-0414>),\nMichael Lydeamore [aut] (ORCID:\n<https://orcid.org/0000-0001-6515-827X>),\nCommonwealth of Australia AEC [cph],\nAustralian Bureau of Statistics ABS [cph]",
  "Maintainer": "Nicholas Tierney <nicholas.tierney@gmail.com>",
  "MD5sum": "e34e8a3218ce96942fee98d9ac39a772",
  "_user": "idem-lab",
  "_type": "src",
  "_file": "conmat_0.1.0.tar.gz",
  "_fileid": "3822d8451c5b2d4d66dd45a5ec7441ef3ffebfcdfaa5ddb59ae6625386f30138",
  "_filesize": 7128613,
  "_sha256": "3822d8451c5b2d4d66dd45a5ec7441ef3ffebfcdfaa5ddb59ae6625386f30138",
  "_created": "2026-05-14T06:50:26.000Z",
  "_published": "2026-05-22T09:18:52.197Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77351205866,
      "time": 229,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6988896393"
    },
    {
      "job": 77351205795,
      "time": 267,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988903804"
    },
    {
      "job": 77351206077,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988888134"
    },
    {
      "job": 77351205833,
      "time": 246,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988898707"
    },
    {
      "job": 77351205354,
      "time": 376,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988844976"
    },
    {
      "job": 77351205414,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157083867"
    },
    {
      "job": 77351205781,
      "time": 258,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988901542"
    },
    {
      "job": 77351206176,
      "time": 249,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988899460"
    },
    {
      "job": 77351206341,
      "time": 256,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988901392"
    }
  ],
  "_buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/idem-lab/conmat",
  "_commit": {
    "id": "4e8982781e895736db903d52fb6e3a0b48271dcf",
    "author": "njtierney <nicholas.tierney@gmail.com>",
    "committer": "njtierney <nicholas.tierney@gmail.com>",
    "message": "use YAML chunk options in vignettes\n",
    "time": 1770961349
  },
  "_maintainer": {
    "name": "Nicholas Tierney",
    "email": "nicholas.tierney@gmail.com",
    "login": "njtierney",
    "mastodon": "@njtierney@aus.social",
    "bluesky": "@njtierney.bsky.social",
    "orcid": "0000-0003-1460-8722",
    "uuid": 6488485
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "socialmixr",
      "version": ">= 0.5.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.1.8",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.4",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.6.2",
      "role": "Imports"
    },
    {
      "package": "minty",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "english",
      "role": "Imports"
    },
    {
      "package": "waldo",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "deSolve",
      "role": "Suggests"
    }
  ],
  "_owner": "idem-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 5
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 8
    }
  ],
  "_tags": [
    {
      "name": "v1.0",
      "date": "2025-12-20"
    }
  ],
  "_topics": [
    "contact-matrices",
    "infectious-diseases",
    "population-data",
    "public-health"
  ],
  "_stars": 21,
  "_contributors": [
    {
      "user": "njtierney",
      "count": 399,
      "uuid": 6488485
    },
    {
      "user": "aarathybabu97",
      "count": 173,
      "uuid": 62989501
    },
    {
      "user": "mikelydeamore",
      "count": 60,
      "uuid": 3804318
    },
    {
      "user": "goldingn",
      "count": 35,
      "uuid": 4450731
    },
    {
      "user": "chitrams",
      "count": 29,
      "uuid": 13806861
    },
    {
      "user": "bisaloo",
      "count": 10,
      "uuid": 10783929
    },
    {
      "user": "geryan",
      "count": 2,
      "uuid": 4963182
    }
  ],
  "_userbio": {
    "uuid": 146308556,
    "type": "organization",
    "name": "The Infectious Disease Ecology and Modelling Team",
    "description": "Combining mathematical and statistical modelling, ecology, and public health to address malaria and other infectious and vector-borne diseases"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/conmat"
  },
  "_devurl": "https://github.com/idem-lab/conmat",
  "_pkgdown": "https://idem-lab.github.io/conmat/",
  "_searchresults": 76,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/conmat.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "abs_abbreviate_states",
    "abs_age_education_lga",
    "abs_age_education_state",
    "abs_age_lga",
    "abs_age_state",
    "abs_age_work_lga",
    "abs_age_work_state",
    "abs_unabbreviate_states",
    "add_intergenerational",
    "add_modelling_features",
    "add_offset",
    "add_population_age_to",
    "add_school_work_participation",
    "add_symmetrical_features",
    "age",
    "age_breaks",
    "age_label",
    "age_population",
    "aggregate_predicted_contacts",
    "apply_vaccination",
    "as_conmat_population",
    "as_setting_prediction_matrix",
    "autoplot",
    "conmat_population",
    "estimate_setting_contacts",
    "extrapolate_polymod",
    "fit_setting_contacts",
    "fit_single_contact_model",
    "generate_ngm",
    "generate_ngm_oz",
    "get_abs_household_size_distribution",
    "get_abs_household_size_population",
    "get_abs_per_capita_household_size",
    "get_abs_per_capita_household_size_lga",
    "get_abs_per_capita_household_size_state",
    "get_age_population_function",
    "get_polymod_contact_data",
    "get_polymod_per_capita_household_size",
    "get_polymod_population",
    "get_polymod_setting_data",
    "get_setting_transmission_matrices",
    "matrix_to_predictions",
    "new_age_matrix",
    "new_ngm_setting_matrix",
    "new_setting_data",
    "partial_effects",
    "partial_effects_sum",
    "per_capita_household_size",
    "polymod",
    "population",
    "population_label",
    "predict_contacts",
    "predict_contacts_1y",
    "predict_setting_contacts",
    "predictions_to_matrix",
    "prepare_population_for_modelling",
    "raw_eigenvalue",
    "scaling",
    "setting_prediction_matrix",
    "transmission_probability_matrix"
  ],
  "_datasets": [
    {
      "name": "abs_avg_school",
      "title": "ABS education data for 2016",
      "object": "abs_avg_school",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "school_fraction"
      ],
      "rows": 116,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_avg_work",
      "title": "ABS work data for 2016",
      "object": "abs_avg_work",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "work_fraction"
      ],
      "rows": 116,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_education_state",
      "title": "ABS education by state for 2006-2020",
      "object": "abs_education_state",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "aboriginal_and_torres_strait_islander_status",
        "age",
        "n_full_and_part_time"
      ],
      "rows": 4194,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_education_state_2020",
      "title": "2020 ABS education population data, interpolated into 1 year bins, by state.",
      "object": "abs_education_state_2020",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "age",
        "population",
        "population_interpolated",
        "prop"
      ],
      "rows": 808,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_employ_age_lga",
      "title": "ABS employment by age and LGA for 2016",
      "object": "abs_employ_age_lga",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "age_group",
        "total_employed",
        "total_unemployed",
        "total_labour_force",
        "total"
      ],
      "rows": 5600,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_household_lga",
      "title": "ABS household data for 2016",
      "object": "abs_household_lga",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "n_persons_usually_resident",
        "n_households"
      ],
      "rows": 4968,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_lga_lookup",
      "title": "ABS lookup table of states, lga code and lga name",
      "object": "abs_lga_lookup",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "lga_code",
        "lga"
      ],
      "rows": 544,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_pop_age_lga_2016",
      "title": "ABS population by age for 2016 for LGAs",
      "object": "abs_pop_age_lga_2016",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "age_group",
        "population"
      ],
      "rows": 9792,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_pop_age_lga_2020",
      "title": "ABS population by age for 2020 for LGAs",
      "object": "abs_pop_age_lga_2020",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "age_group",
        "population"
      ],
      "rows": 9774,
      "table": true,
      "tojson": true
    },
    {
      "name": "abs_state_age",
      "title": "ABS state population data for 2020",
      "object": "abs_state_age",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "age_group",
        "population"
      ],
      "rows": 168,
      "table": true,
      "tojson": true
    },
    {
      "name": "age_group_lookup",
      "title": "Lookup table of age groups in 5 year bins",
      "object": "age_group_lookup",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "lower",
        "upper",
        "age_group"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "conmat_original_school_demographics",
      "title": "Original school demographics for conmat",
      "object": "conmat_original_school_demographics",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "school_fraction"
      ],
      "rows": 121,
      "table": true,
      "tojson": true
    },
    {
      "name": "conmat_original_work_demographics",
      "title": "Original work demographics for conmat",
      "object": "conmat_original_work_demographics",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "work_fraction"
      ],
      "rows": 121,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_abs_lga_education",
      "title": "LGA wise ABS education population data on different ages for year 2016",
      "object": "data_abs_lga_education",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "age",
        "population_educated",
        "total_population",
        "proportion",
        "anomaly_flag"
      ],
      "rows": 64496,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_abs_lga_work",
      "title": "LGA wise ABS work population data on different ages for year 2016",
      "object": "data_abs_lga_work",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "lga",
        "age",
        "employed_population",
        "total_population",
        "proportion",
        "anomaly_flag"
      ],
      "rows": 64496,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_abs_state_education",
      "title": "State wise ABS education population data on different ages for year 2016",
      "object": "data_abs_state_education",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "age",
        "population_educated",
        "total_population",
        "proportion"
      ],
      "rows": 1044,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_abs_state_work",
      "title": "State wise ABS work population data on different ages for year 2016",
      "object": "data_abs_state_work",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "year",
        "state",
        "age",
        "employed_population",
        "total_population",
        "proportion"
      ],
      "rows": 1044,
      "table": true,
      "tojson": true
    },
    {
      "name": "davies_age_extended",
      "title": "Susceptibility and clinical fraction parameters from Davies et al.",
      "object": "davies_age_extended",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "clinical_fraction",
        "davies_original",
        "davies_updated"
      ],
      "rows": 101,
      "table": true,
      "tojson": true
    },
    {
      "name": "eyre_transmission_probabilities",
      "title": "Transmission probabilities of COVID19 from Eyre et al.",
      "object": "eyre_transmission_probabilities",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "setting",
        "case_age",
        "contact_age",
        "case_age_5y",
        "contact_age_5y",
        "probability"
      ],
      "rows": 40804,
      "table": true,
      "tojson": true
    },
    {
      "name": "polymod",
      "title": "Social contact data from 8 European countries (imported from 'socialmixr')",
      "object": "polymod",
      "class": [
        "survey"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "polymod_setting_models",
      "title": "Polymod Settings models",
      "object": "polymod_setting_models",
      "class": [
        "setting_contact_model",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "prem_germany_contact_matrices",
      "title": "Contact matrices as calculated by Prem. et al.",
      "object": "prem_germany_contact_matrices",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "setting_weights",
      "title": "Setting weights computed for transmission probabilities.",
      "object": "setting_weights",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "vaccination_effect_example_data",
      "title": "Example dataset with information on age based vaccination coverage, acquisition and transmission",
      "object": "vaccination_effect_example_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age_band",
        "coverage",
        "acquisition",
        "transmission"
      ],
      "rows": 17,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "abs_abbreviate_states",
      "title": "Abbreviate Australian State Names",
      "topics": [
        "abs_abbreviate_states"
      ]
    },
    {
      "page": "abs_age_data",
      "title": "Return Australian Bureau of Statistics (ABS) age population data for a given Local Government Area (LGA) or state",
      "topics": [
        "abs_age_data",
        "abs_age_lga",
        "abs_age_state"
      ]
    },
    {
      "page": "abs-age-education",
      "title": "Return data on educated population for a given age and state or lga of Australia.",
      "topics": [
        "abs-age-education",
        "abs_age_education_lga",
        "abs_age_education_state"
      ]
    },
    {
      "page": "abs-age-work",
      "title": "Return data on employed population for a given age and state or lga of Australia",
      "topics": [
        "abs-age-work",
        "abs_age_work_lga",
        "abs_age_work_state"
      ]
    },
    {
      "page": "abs_avg_school",
      "title": "ABS education data for 2016",
      "topics": [
        "abs_avg_school"
      ]
    },
    {
      "page": "abs_avg_work",
      "title": "ABS work data for 2016",
      "topics": [
        "abs_avg_work"
      ]
    },
    {
      "page": "abs_education_state",
      "title": "ABS education by state for 2006-2020",
      "topics": [
        "abs_education_state"
      ]
    },
    {
      "page": "abs_education_state_2020",
      "title": "2020 ABS education population data, interpolated into 1 year bins, by state.",
      "topics": [
        "abs_education_state_2020"
      ]
    },
    {
      "page": "abs_employ_age_lga",
      "title": "ABS employment by age and LGA for 2016",
      "topics": [
        "abs_employ_age_lga"
      ]
    },
    {
      "page": "abs_household_lga",
      "title": "ABS household data for 2016",
      "topics": [
        "abs_household_lga"
      ]
    },
    {
      "page": "abs_lga_lookup",
      "title": "ABS lookup table of states, lga code and lga name",
      "topics": [
        "abs_lga_lookup"
      ]
    },
    {
      "page": "abs_pop_age_lga_2016",
      "title": "ABS population by age for 2016 for LGAs",
      "topics": [
        "abs_pop_age_lga_2016"
      ]
    },
    {
      "page": "abs_pop_age_lga_2020",
      "title": "ABS population by age for 2020 for LGAs",
      "topics": [
        "abs_pop_age_lga_2020"
      ]
    },
    {
      "page": "abs_state_age",
      "title": "ABS state population data for 2020",
      "topics": [
        "abs_state_age"
      ]
    },
    {
      "page": "abs_unabbreviate_states",
      "title": "Un-abbreviate Australian state names",
      "topics": [
        "abs_unabbreviate_states"
      ]
    },
    {
      "page": "add_intergenerational",
      "title": "Add column, \"intergenerational\"",
      "topics": [
        "add_intergenerational"
      ]
    },
    {
      "page": "add_modelling_features",
      "title": "Add features required for modelling to the dataset",
      "topics": [
        "add_modelling_features"
      ]
    },
    {
      "page": "add_offset",
      "title": "Adds offset variables",
      "topics": [
        "add_offset"
      ]
    },
    {
      "page": "add_population_age_to",
      "title": "Add the population distribution for contact ages.",
      "topics": [
        "add_population_age_to"
      ]
    },
    {
      "page": "add_school_work_participation",
      "title": "Add columns describing the fractions of the population in each age group that attend school/work (average FTE)",
      "topics": [
        "add_school_work_participation"
      ]
    },
    {
      "page": "add_symmetrical_features",
      "title": "Add symmetrical, age based features",
      "topics": [
        "add_symmetrical_features"
      ]
    },
    {
      "page": "accessors",
      "title": "Accessing conmat attributes",
      "topics": [
        "age",
        "age_label",
        "age_label.conmat_population",
        "age_label.default",
        "population",
        "population_label",
        "population_label.conmat_population",
        "population_label.default"
      ]
    },
    {
      "page": "age_breaks",
      "title": "Extract age break attribute information",
      "topics": [
        "age_breaks",
        "age_breaks.array",
        "age_breaks.conmat_age_matrix",
        "age_breaks.conmat_setting_prediction_matrix",
        "age_breaks.default",
        "age_breaks.matrix",
        "age_breaks.ngm_setting_matrix",
        "age_breaks.numeric",
        "age_breaks.predicted_contacts",
        "age_breaks.setting_contact_model",
        "age_breaks.setting_data",
        "age_breaks.setting_vaccination_matrix",
        "age_breaks.transmission_probability_matrix"
      ]
    },
    {
      "page": "age_group_lookup",
      "title": "Lookup table of age groups in 5 year bins",
      "topics": [
        "age_group_lookup"
      ]
    },
    {
      "page": "age_population",
      "title": "Get cleaned population data with lower and upper limits of age.",
      "topics": [
        "age_population"
      ]
    },
    {
      "page": "aggregate_predicted_contacts",
      "title": "Aggregate predicted contacts to specified age breaks",
      "topics": [
        "aggregate_predicted_contacts"
      ]
    },
    {
      "page": "apply_vaccination",
      "title": "Apply vaccination effects to next generation contact matrices",
      "topics": [
        "apply_vaccination"
      ]
    },
    {
      "page": "as_conmat_population",
      "title": "Convert to conmat population",
      "topics": [
        "as_conmat_population",
        "as_conmat_population.data.frame",
        "as_conmat_population.default",
        "as_conmat_population.grouped_df",
        "as_conmat_population.list"
      ]
    },
    {
      "page": "as_setting_prediction_matrix",
      "title": "Coerce object to a setting prediction matrix",
      "topics": [
        "as_setting_prediction_matrix"
      ]
    },
    {
      "page": "autoplot-conmat",
      "title": "Plot setting matrices using ggplot2",
      "topics": [
        "autoplot-conmat",
        "autoplot.conmat_age_matrix",
        "autoplot.conmat_setting_prediction_matrix",
        "autoplot.ngm_setting_matrix",
        "autoplot.setting_vaccination_matrix",
        "autoplot.transmission_probability_matrix"
      ]
    },
    {
      "page": "autoplot-conmat-partial",
      "title": "Plot partial predictive plots using ggplot2",
      "topics": [
        "autoplot-conmat-partial",
        "autoplot.partial_predictions",
        "autoplot.partial_predictions_sum",
        "autoplot.setting_partial_predictions",
        "autoplot.setting_partial_predictions_sum"
      ]
    },
    {
      "page": "conmat_original_school_demographics",
      "title": "Original school demographics for conmat",
      "topics": [
        "conmat_original_school_demographics"
      ]
    },
    {
      "page": "conmat_original_work_demographics",
      "title": "Original work demographics for conmat",
      "topics": [
        "conmat_original_work_demographics"
      ]
    },
    {
      "page": "conmat_population",
      "title": "Define a conmat population",
      "topics": [
        "conmat_population"
      ]
    },
    {
      "page": "data_abs_lga_education",
      "title": "LGA wise ABS education population data on different ages for year 2016",
      "topics": [
        "data_abs_lga_education"
      ]
    },
    {
      "page": "data_abs_lga_work",
      "title": "LGA wise ABS work population data on different ages for year 2016",
      "topics": [
        "data_abs_lga_work"
      ]
    },
    {
      "page": "data_abs_state_education",
      "title": "State wise ABS education population data on different ages for year 2016",
      "topics": [
        "data_abs_state_education"
      ]
    },
    {
      "page": "data_abs_state_work",
      "title": "State wise ABS work population data on different ages for year 2016",
      "topics": [
        "data_abs_state_work"
      ]
    },
    {
      "page": "davies_age_extended",
      "title": "Susceptibility and clinical fraction parameters from Davies et al.",
      "topics": [
        "davies_age_extended"
      ]
    },
    {
      "page": "estimate_setting_contacts",
      "title": "Get predicted setting specific as well as combined contact matrices",
      "topics": [
        "estimate_setting_contacts"
      ]
    },
    {
      "page": "extrapolate_polymod",
      "title": "Fit all-of-polymod model and extrapolate to a given population an age breaks",
      "topics": [
        "extrapolate_polymod"
      ]
    },
    {
      "page": "eyre_transmission_probabilities",
      "title": "Transmission probabilities of COVID19 from Eyre et al.",
      "topics": [
        "eyre_transmission_probabilities"
      ]
    },
    {
      "page": "fit_setting_contacts",
      "title": "Fit a contact model to a survey population",
      "topics": [
        "fit_setting_contacts"
      ]
    },
    {
      "page": "fit_single_contact_model",
      "title": "Fit a single GAM contact model to a dataset",
      "topics": [
        "fit_single_contact_model"
      ]
    },
    {
      "page": "generate_ngm",
      "title": "Calculate next generation contact matrices",
      "topics": [
        "generate_ngm",
        "generate_ngm.conmat_population",
        "generate_ngm.conmat_setting_prediction_matrix"
      ]
    },
    {
      "page": "generate_ngm_oz",
      "title": "Calculate next generation contact matrices from ABS data",
      "topics": [
        "generate_ngm_oz"
      ]
    },
    {
      "page": "get_abs_household_size_distribution",
      "title": "Get household size distribution based on state or LGA name",
      "topics": [
        "get_abs_household_size_distribution"
      ]
    },
    {
      "page": "get_abs_household_size_population",
      "title": "Get population associated with each household size in an LGA or a state",
      "topics": [
        "get_abs_household_size_population"
      ]
    },
    {
      "page": "get_abs_per_capita_household_size",
      "title": "Get per capita household size based on state or LGA name",
      "topics": [
        "get_abs_per_capita_household_size"
      ]
    },
    {
      "page": "get_abs_per_capita_household_size_lga",
      "title": "Get household size distribution based on LGA name",
      "topics": [
        "get_abs_per_capita_household_size_lga"
      ]
    },
    {
      "page": "get_abs_per_capita_household_size_state",
      "title": "Get household size distribution based on state name",
      "topics": [
        "get_abs_per_capita_household_size_state"
      ]
    },
    {
      "page": "get_age_population_function",
      "title": "Return an interpolating function for populations in 1y age increments",
      "topics": [
        "get_age_population_function",
        "get_age_population_function.conmat_population",
        "get_age_population_function.data.frame"
      ]
    },
    {
      "page": "get_polymod_contact_data",
      "title": "Format POLYMOD data and filter contacts to certain settings",
      "topics": [
        "get_polymod_contact_data"
      ]
    },
    {
      "page": "get_polymod_per_capita_household_size",
      "title": "Get polymod per capita household size.",
      "topics": [
        "get_polymod_per_capita_household_size"
      ]
    },
    {
      "page": "get_polymod_population",
      "title": "Return the polymod-average population age distribution in 5y",
      "topics": [
        "get_polymod_population"
      ]
    },
    {
      "page": "get_polymod_setting_data",
      "title": "Get polymod setting data",
      "topics": [
        "get_polymod_setting_data"
      ]
    },
    {
      "page": "get_setting_transmission_matrices",
      "title": "Get Setting Transmission Matrices",
      "topics": [
        "get_setting_transmission_matrices"
      ]
    },
    {
      "page": "matrix_to_predictions",
      "title": "Convert a contact matrix as output into a long-form tibble",
      "topics": [
        "matrix_to_predictions"
      ]
    },
    {
      "page": "new_age_matrix",
      "title": "Build new age matrix",
      "topics": [
        "new_age_matrix"
      ]
    },
    {
      "page": "new_ngm_setting_matrix",
      "title": "Establish new BGM setting data",
      "topics": [
        "new_ngm_setting_matrix"
      ]
    },
    {
      "page": "new_setting_data",
      "title": "Establish new setting data",
      "topics": [
        "new_setting_data"
      ]
    },
    {
      "page": "partial-prediction",
      "title": "Create partial predictions and partial prediction plots.",
      "topics": [
        "partial-prediction",
        "partial_effects",
        "partial_effects.contact_model",
        "partial_effects.setting_contact_model",
        "partial_effects_sum.setting_contact_model"
      ]
    },
    {
      "page": "partial-prediction-sum",
      "title": "Create partial predictive plots for a set of fitted models.",
      "topics": [
        "partial-prediction-sum",
        "partial_effects_sum",
        "partial_effects_sum.contact_model"
      ]
    },
    {
      "page": "per_capita_household_size",
      "title": "Get per capita household size with household size distribution",
      "topics": [
        "per_capita_household_size"
      ]
    },
    {
      "page": "polymod",
      "title": "Social contact data from 8 European countries (imported from 'socialmixr')",
      "topics": [
        "polymod"
      ]
    },
    {
      "page": "polymod_setting_models",
      "title": "Polymod Settings models",
      "topics": [
        "polymod_setting_models"
      ]
    },
    {
      "page": "predict_contacts",
      "title": "Predict contact rate between two age populations, given some model.",
      "topics": [
        "predict_contacts"
      ]
    },
    {
      "page": "predict_contacts_1y",
      "title": "Predict contact rate to a given population at full 1y resolution",
      "topics": [
        "predict_contacts_1y"
      ]
    },
    {
      "page": "predict_setting_contacts",
      "title": "Predict setting contacts",
      "topics": [
        "predict_setting_contacts"
      ]
    },
    {
      "page": "predictions_to_matrix",
      "title": "Convert dataframe of predicted contacts into matrix",
      "topics": [
        "predictions_to_matrix"
      ]
    },
    {
      "page": "prem_germany_contact_matrices",
      "title": "Contact matrices as calculated by Prem. et al.",
      "topics": [
        "prem_germany_contact_matrices"
      ]
    },
    {
      "page": "raw_eigenvalue",
      "title": "Get raw eigvenvalue from NGM matrix",
      "topics": [
        "raw_eigenvalue"
      ]
    },
    {
      "page": "scaling",
      "title": "Get the scaling from NGM matrix",
      "topics": [
        "scaling"
      ]
    },
    {
      "page": "setting_prediction_matrix",
      "title": "Create a setting prediction matrix",
      "topics": [
        "setting_prediction_matrix"
      ]
    },
    {
      "page": "setting_weights",
      "title": "Setting weights computed for transmission probabilities.",
      "topics": [
        "setting_weights"
      ]
    },
    {
      "page": "transmission_probability_matrix",
      "title": "Create a setting transmission matrix",
      "topics": [
        "transmission_probability_matrix"
      ]
    },
    {
      "page": "vaccination_effect_example_data",
      "title": "Example dataset with information on age based vaccination coverage, acquisition and transmission",
      "topics": [
        "vaccination_effect_example_data"
      ]
    }
  ],
  "_readme": "https://github.com/idem-lab/conmat/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "codetools",
    "countrycode",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "diffobj",
    "digest",
    "dplyr",
    "english",
    "farver",
    "fastmap",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "Matrix",
    "memoise",
    "mgcv",
    "mime",
    "minty",
    "nlme",
    "oai",
    "openssl",
    "parallelly",
    "patchwork",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "socialmixr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr",
    "wpp2017",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "conmat-population.Rmd",
      "filename": "conmat-population.html",
      "title": "Conmat Population Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Accessing age and population information",
        "Brief example of using accessor functions",
        "An example use from the package",
        "Using these as S3 methods in an R package",
        "Conclusion"
      ],
      "created": "2022-12-23 01:25:27",
      "modified": "2026-02-13 05:42:29",
      "commits": 7
    },
    {
      "source": "data-sources.Rmd",
      "filename": "data-sources.html",
      "title": "Data Sources",
      "engine": "knitr::rmarkdown",
      "headings": [
        "World data",
        "Australian Bureau of Statistics (ABS) data",
        "Accessing Functions",
        "abs_age_lga()",
        "abs_age_state()",
        "ABS data",
        "Education by state data for 2006 -2020",
        "Education by state data for 2020",
        "Employment by LGA for 2016",
        "Number of people in each household by LGA for 2016",
        "LGA age population for 2016 for all states and LGAs",
        "LGA age population for 2020 for all states and LGAs",
        "State age population for 2020",
        "Epidemiology / disease modelling data",
        "Transmission probabilities from Eyre"
      ],
      "created": "2022-09-08 09:54:11",
      "modified": "2026-02-13 05:42:29",
      "commits": 4
    },
    {
      "source": "example-pipeline.Rmd",
      "filename": "example-pipeline.html",
      "title": "Example Pipeline",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Create a new synthetic matrix from all POLYMOD data",
        "Generating a Next Generation Matrix",
        "Applying Vaccination Rates",
        "Fitting a new model with asymmetric terms"
      ],
      "created": "2022-09-08 09:54:11",
      "modified": "2026-02-13 05:42:29",
      "commits": 10
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick example using Australian data",
        "Quick example using world data",
        "What next?",
        "A More in depth example",
        "Predicting the contact rate",
        "Plotting",
        "Note",
        "Applying the model across all settings.",
        "Fit to all settings",
        "Predict to all settings"
      ],
      "created": "2021-09-06 07:39:25",
      "modified": "2026-02-13 05:42:29",
      "commits": 17
    },
    {
      "source": "parallel-computing.Rmd",
      "filename": "parallel-computing.html",
      "title": "Parallel Computing",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-12-23 01:25:27",
      "modified": "2026-02-13 05:42:29",
      "commits": 4
    },
    {
      "source": "sir-model.Rmd",
      "filename": "sir-model.html",
      "title": "SIR modelling with conmat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction: What is an SIR model?",
        "An SIR Model with homogenous mixing",
        "Comparison to other age matrices",
        "Calculating reproductive number - R0"
      ],
      "created": "2023-02-07 06:16:23",
      "modified": "2026-02-13 05:42:29",
      "commits": 7
    },
    {
      "source": "other-data-sources.Rmd",
      "filename": "other-data-sources.html",
      "title": "Using other data sources",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating a next generation matrix (NGM)",
        "Applying vaccination to an NGM"
      ],
      "created": "2022-12-23 01:25:27",
      "modified": "2026-02-13 05:42:29",
      "commits": 5
    },
    {
      "source": "visualising-conmat.Rmd",
      "filename": "visualising-conmat.html",
      "title": "Visualisation gallery",
      "engine": "knitr::rmarkdown",
      "headings": [
        "extrapolate polymod",
        "For interest's sake: visualising the empirical contact rate data"
      ],
      "created": "2022-12-23 01:25:27",
      "modified": "2026-02-13 05:42:29",
      "commits": 5
    }
  ],
  "_score": 7.5374866381656425,
  "_indexed": true,
  "_nocasepkg": "conmat",
  "_universes": [
    "idem-lab",
    "njtierney"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T06:53:12.000Z",
      "distro": "noble",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "f4b4315e1f9efb6d2b57ff2d1b2c512d59093d3c614222de9c1213dc611a1341",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T06:52:57.000Z",
      "distro": "noble",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "cbbd19f0992a30a64638b9c955a172107c3059c7f30c363c7932811a9b4e2259",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-14T06:52:12.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "8537934777dcc659846d5d64e2913486dc4bd87b6a8cb5a3b3f7910e406b452b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-14T06:52:15.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "8a9065acd560ebb6befeed1abd5fe0097c93146900dea721504355c112dbeef8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:51:58.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "89d07e21010e360959fe24561073d5be37f97424fd3945e5fca02c81464279ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:51:58.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "8d72306519d67705772229ca439ac5382b46af195dcee4d0b84a50a303425d73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:52:06.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "06a2ce8f1e6c464b50c9a829d363f56d03943fa29d0933e892bf1d3769ca4110",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T09:18:21.000Z",
      "commit": "4e8982781e895736db903d52fb6e3a0b48271dcf",
      "fileid": "635836e0256a7fb777ac4f4a02f6f84bf9ef9cbee0765f9543ffdac3d2675156",
      "status": "success",
      "buildurl": "https://github.com/r-universe/idem-lab/actions/runs/25846119167"
    }
  ]
}