{
  "_id": "6aaba5223d719c1f8406cd27",
  "Package": "socialmixr",
  "Title": "Social Mixing Matrices for Infectious Disease Modelling",
  "Version": "0.4.0.9000",
  "Authors@R": "c(\nperson(\"Sebastian\", \"Funk\", , \"sebastian.funk@lshtm.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"Lander\", \"Willem\", role = \"aut\"),\nperson(\"Hugo\", \"Gruson\", role = \"aut\"),\nperson(\"Maria\", \"Bekker-Nielsen Dunbar\", role = \"ctb\"),\nperson(\"Carl A. B.\", \"Pearson\", role = \"ctb\"),\nperson(\"Sam\", \"Clifford\", , \"sj.clifford@gmail.com\", role = \"ctb\"),\nperson(\"Christopher\", \"Jarvis\", role = \"ctb\"),\nperson(\"Alexis\", \"Robert\", , \"alexis.robert@lshtm.ac.uk\", role = \"ctb\"),\nperson(\"Niel\", \"Hens\", role = \"ctb\"),\nperson(\"Pietro\", \"Coletti\", role = c(\"col\", \"dtm\"))\n)",
  "Description": "Provides methods for sampling contact matrices from diary\ndata for use in infectious disease modelling, as discussed in\nMossong et al. (2008) <doi:10.1371/journal.pmed.0050074>.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/epiforecasts/socialmixr,\nhttps://epiforecasts.io/socialmixr/",
  "BugReports": "https://github.com/epiforecasts/socialmixr/issues",
  "Roxygen": "list( markdown = TRUE, roclets = c(\"collate\", \"namespace\",\n\"rd\", \"roxyglobals::global_roclet\"))",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev",
  "Repository": "https://epiverse-connect.r-universe.dev",
  "Date/Publication": "2025-06-24 10:19:45 UTC",
  "RemoteUrl": "https://github.com/epiforecasts/socialmixr",
  "RemoteRef": "HEAD",
  "RemoteSha": "db737fcab71df0f522e2be85fbfdc881222a052c",
  "Packaged": {
    "Date": "2026-09-17 08:03:32 UTC",
    "User": "root"
  },
  "Author": "Sebastian Funk [aut, cre],\nLander Willem [aut],\nHugo Gruson [aut],\nMaria Bekker-Nielsen Dunbar [ctb],\nCarl A. B. Pearson [ctb],\nSam Clifford [ctb],\nChristopher Jarvis [ctb],\nAlexis Robert [ctb],\nNiel Hens [ctb],\nPietro Coletti [col, dtm]",
  "Maintainer": "Sebastian Funk <sebastian.funk@lshtm.ac.uk>",
  "_user": "epiverse-connect",
  "_type": "src",
  "_file": "socialmixr_0.4.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/571f465926b62b565a1d97356a470817122e6af6398adc1c1720628f04e2cf98",
  "_filesize": 787364,
  "_sha256": "571f465926b62b565a1d97356a470817122e6af6398adc1c1720628f04e2cf98",
  "_expires": "2026-12-26T08:30:19.000Z",
  "_created": "2026-09-17T08:03:32.000Z",
  "_published": "2026-09-17T08:30:26.337Z",
  "_jobs": [
    {
      "job": 105124689644,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10486104079"
    },
    {
      "job": 105124689701,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486107736"
    },
    {
      "job": 105124689742,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10487229502"
    },
    {
      "job": 105124689700,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10487044726"
    },
    {
      "job": 105123681339,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486437729"
    },
    {
      "job": 105124689691,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10486787416"
    },
    {
      "job": 105124689683,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10487240338"
    },
    {
      "job": 105124689756,
      "time": 116,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10486282252"
    },
    {
      "job": 105124689738,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10486702499"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004",
  "_status": "success",
  "_upstream": "https://github.com/epiforecasts/socialmixr",
  "_commit": {
    "id": "db737fcab71df0f522e2be85fbfdc881222a052c",
    "author": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Automatic README update (#178)\n\nCo-authored-by: github-merge-queue[bot] <118344674+github-merge-queue[bot]@users.noreply.github.com>",
    "time": 1750760385
  },
  "_maintainer": {
    "name": "Sebastian Funk",
    "email": "sebastian.funk@lshtm.ac.uk",
    "login": "sbfnk",
    "mastodon": "@sbfnk@fosstodon.org",
    "bluesky": "@sbfnk.bsky.social",
    "description": "Professor of Infectious Disease Dynamics at LSHTM. epiforecasts.io",
    "uuid": 1156307
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "countrycode",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "oai",
      "role": "Imports"
    },
    {
      "package": "wpp2017",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxyglobals",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "epiforecasts",
  "_selfowned": false,
  "_usedby": 2,
  "_updates": [],
  "_tags": [
    {
      "name": "v0.5.0",
      "date": "2026-01-19"
    },
    {
      "name": "v0.5.1",
      "date": "2026-02-04"
    },
    {
      "name": "v0.6.0",
      "date": "2026-04-28"
    },
    {
      "name": "v0.7.0",
      "date": "2026-08-22"
    }
  ],
  "_stars": 44,
  "_contributors": [
    {
      "user": "sbfnk",
      "count": 502,
      "uuid": 1156307
    },
    {
      "user": "bisaloo",
      "count": 77,
      "uuid": 10783929
    },
    {
      "user": "sbfnk-bot",
      "count": 41,
      "uuid": 242615673
    },
    {
      "user": "lwillem",
      "count": 36,
      "uuid": 16814096
    },
    {
      "user": "njtierney",
      "count": 10,
      "uuid": 6488485
    },
    {
      "user": "alxsrobert",
      "count": 5,
      "uuid": 12156818
    },
    {
      "user": "degoot-am",
      "count": 1,
      "uuid": 19929487
    },
    {
      "user": "pearsonca",
      "count": 1,
      "uuid": 1828039
    },
    {
      "user": "jarvisc1",
      "count": 1,
      "uuid": 6746618
    },
    {
      "user": "jamesmbaazam",
      "count": 1,
      "uuid": 43169674
    },
    {
      "user": "joshwlambert",
      "count": 1,
      "uuid": 46606402
    },
    {
      "user": "lloydchapman",
      "count": 1,
      "uuid": 22941537
    },
    {
      "user": "mariabnd",
      "count": 1,
      "uuid": 33788128
    },
    {
      "user": "ukhsa-tt",
      "count": 1,
      "uuid": 228903135
    }
  ],
  "_userbio": {
    "uuid": 114159794,
    "type": "organization",
    "name": "Epiverse-CONNECT",
    "followers": 6
  },
  "_downloads": {
    "count": 1010,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/socialmixr"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/epiforecasts/socialmixr",
  "_pkgdown": "https://epiforecasts.io/socialmixr/",
  "_searchresults": 418,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/socialmixr.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/epiforecasts/socialmixr",
  "_realowner": "epiforecasts",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-01-08"
    },
    {
      "version": "0.1.1",
      "date": "2018-01-15"
    },
    {
      "version": "0.1.2",
      "date": "2018-02-22"
    },
    {
      "version": "0.1.3",
      "date": "2018-08-09"
    },
    {
      "version": "0.1.4",
      "date": "2019-07-24"
    },
    {
      "version": "0.1.5",
      "date": "2019-09-24"
    },
    {
      "version": "0.1.6",
      "date": "2020-01-10"
    },
    {
      "version": "0.1.7",
      "date": "2020-08-06"
    },
    {
      "version": "0.1.8",
      "date": "2020-11-14"
    },
    {
      "version": "0.2.0",
      "date": "2022-10-27"
    },
    {
      "version": "0.3.0",
      "date": "2023-10-19"
    },
    {
      "version": "0.3.1",
      "date": "2023-10-26"
    },
    {
      "version": "0.3.2",
      "date": "2024-04-18"
    },
    {
      "version": "0.4.0",
      "date": "2024-10-18"
    },
    {
      "version": "0.5.0",
      "date": "2026-01-19"
    },
    {
      "version": "0.5.1",
      "date": "2026-02-04"
    },
    {
      "version": "0.6.0",
      "date": "2026-04-29"
    },
    {
      "version": "0.7.0",
      "date": "2026-08-22"
    }
  ],
  "_exports": [
    "as_contact_survey",
    "check",
    "clean",
    "contact_matrix",
    "download_survey",
    "get_citation",
    "get_survey",
    "limits_to_agegroups",
    "list_surveys",
    "load_survey",
    "matrix_plot",
    "pop_age",
    "reduce_agegroups",
    "survey",
    "survey_countries",
    "wpp_age",
    "wpp_countries"
  ],
  "_datasets": [
    {
      "name": "polymod",
      "title": "Social contact data from 8 European countries",
      "object": "polymod",
      "class": [
        "contact_survey"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "as_contact_survey",
      "title": "Check contact survey data",
      "topics": [
        "as_contact_survey"
      ]
    },
    {
      "page": "check",
      "title": "Check contact survey data",
      "topics": [
        "check",
        "check.contact_survey"
      ]
    },
    {
      "page": "clean",
      "title": "Clean contact survey data",
      "topics": [
        "clean",
        "clean.contact_survey"
      ]
    },
    {
      "page": "contact_matrix",
      "title": "Generate a contact matrix from diary survey data",
      "topics": [
        "contact_matrix"
      ]
    },
    {
      "page": "download_survey",
      "title": "Download a survey from its Zenodo repository",
      "topics": [
        "download_survey"
      ]
    },
    {
      "page": "get_citation",
      "title": "Citation for a survey",
      "topics": [
        "get_citation"
      ]
    },
    {
      "page": "get_survey",
      "title": "Get a survey, either from its Zenodo repository, a set of files, or a survey variable",
      "topics": [
        "get_survey"
      ]
    },
    {
      "page": "is_doi",
      "title": "Checks if a character string is a DOI",
      "topics": [
        "is_doi"
      ]
    },
    {
      "page": "limits_to_agegroups",
      "title": "Convert lower age limits to age groups.",
      "topics": [
        "limits_to_agegroups"
      ]
    },
    {
      "page": "list_surveys",
      "title": "List all surveys available for download",
      "topics": [
        "list_surveys"
      ]
    },
    {
      "page": "load_survey",
      "title": "Load a survey from local files",
      "topics": [
        "load_survey"
      ]
    },
    {
      "page": "matrix_plot",
      "title": "Draws an image plot of a contact matrix with a legend strip and the numeric values in the cells.",
      "topics": [
        "matrix_plot"
      ]
    },
    {
      "page": "polymod",
      "title": "Social contact data from 8 European countries",
      "topics": [
        "polymod"
      ]
    },
    {
      "page": "pop_age",
      "title": "Change age groups in population data",
      "topics": [
        "pop_age"
      ]
    },
    {
      "page": "reduce_agegroups",
      "title": "Reduce the number of age groups given a broader set of limits",
      "topics": [
        "reduce_agegroups"
      ]
    },
    {
      "page": "survey",
      "title": "Contact survey",
      "topics": [
        "survey"
      ]
    },
    {
      "page": "survey_countries",
      "title": "List all countries contained in a survey",
      "topics": [
        "survey_countries"
      ]
    },
    {
      "page": "wpp_age",
      "title": "Get age-specific population data according to the World Population Prospects 2017 edition",
      "topics": [
        "wpp_age"
      ]
    },
    {
      "page": "wpp_countries",
      "title": "List all countries and regions for which socialmixr has population data",
      "topics": [
        "wpp_countries"
      ]
    }
  ],
  "_readme": "https://github.com/epiforecasts/socialmixr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "countrycode",
    "cpp11",
    "curl",
    "data.table",
    "fastmap",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "oai",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "timechange",
    "utf8",
    "vctrs",
    "wpp2017",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "socialmixr.Rmd",
      "filename": "socialmixr.html",
      "title": "Introduction to socialmixr",
      "author": "Sebastian Funk",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Surveys",
        "Bootstrapping",
        "Demography",
        "Symmetric contact matrices",
        "Contact rates per capita",
        "Splitting contact matrices",
        "Filtering",
        "Participant weights",
        "Temporal aspects and demography",
        "User-defined participant weights",
        "Weight threshold",
        "Numerical example",
        "Get survey data",
        "Weight by day of week",
        "Weight by age",
        "Apply threshold",
        "Plotting",
        "Using ggplot2",
        "Using R base",
        "References"
      ],
      "created": "2022-06-16 11:43:40",
      "modified": "2024-10-18 14:18:57",
      "commits": 20
    }
  ],
  "_score": 9.63816618945401,
  "_indexed": false,
  "_nocasepkg": "socialmixr",
  "_universes": [
    "epiverse-connect"
  ],
  "_indexurl": "https://epiforecasts.r-universe.dev/socialmixr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:05:51.000Z",
      "distro": "resolute",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/87ddeab59b1950db9a1ac1a19a9150d1333da797c1bc237a232347e6ab3d53be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:05:58.000Z",
      "distro": "resolute",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/b4a6327762a552518e27f24899961d6f99416ccc87f00d3e2ff40bb5ba3bb0e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:29:21.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/450cf7c134b0288c9c5f05298080b1570b4ab3d32d5b6cc0b3f03daf8ba007b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:25:31.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/07d038bc43bb7d4fcda4c1db027ee3f7e15e84e0b239a589a6a2f4fc07825212",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:06:00.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/bccb1d032da6e72acaaeacd213dfdf8bebcef86c1be93472b4efb7e20c36356f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:04:45.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/266393fa8222368b51c8a352b8dc1fef185249e7a45ab360843b9d71f1b5a26f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:05:01.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/6e57efd0dd3e73781510c94adfd6e7add61f6a20da7f12ef075b8da91bfe4714",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-09-17T08:05:02.000Z",
      "commit": "db737fcab71df0f522e2be85fbfdc881222a052c",
      "fileid": "https://r2.ropensci.org/d9b0a521252520a8232e5a4a88cf8b6d4d8bf8ab8ca1a935c0d28b91e197c507",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/35197331004"
    }
  ]
}