{
  "_id": "6a509ea789c83ec243a2eb04",
  "Package": "contactsurveys",
  "Title": "Download Contact Surveys for Use in Infectious Disease Modelling",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(\ngiven = \"Sebastian\",\nfamily = \"Funk\",\nemail = \"sebastian.funk@lshtm.ac.uk\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-2842-3406\")\n),\nperson(\ngiven = \"Nicholas\",\nfamily = \"Tierney\",\nemail = \"nicholas.tierney@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-1460-8722\")\n),\nperson(\ngiven = \"Hugo\",\nfamily = \"Gruson\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-4094-1476\")\n)\n)",
  "Description": "Download, cache, and manage social contact survey data\nfrom the social contact data community on Zenodo\n(<https://zenodo.org/communities/social_contact_data>) for use\nin infectious disease modelling. Provides functions to list\navailable surveys, download survey files with automatic\ncaching, and retrieve citations. Contact survey data describe\nwho contacts whom in a population and are used to parameterise\nage-structured transmission models, for example via the\n'socialmixr' package. The surveys available include those from\nthe POLYMOD study (Mossong et al. (2008)\n<doi:10.1371/journal.pmed.0050074>) and other social contact\ndata shared on Zenodo.",
  "License": "MIT + file LICENSE",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/epiforecasts/contactsurveys,\nhttp://epiforecasts.io/contactsurveys/",
  "BugReports": "https://github.com/epiforecasts/contactsurveys/issues",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"collate\", \"namespace\",\n\"rd\", \"roxyglobals::global_roclet\"))",
  "Config/testthat/edition": "3",
  "Config/roxyglobals/filename": "globals.R",
  "Config/roxyglobals/unique": "FALSE",
  "Config/pak/sysreqs": "libicu-dev libsecret-1-dev libxml2-dev libssl-dev",
  "Repository": "https://epiforecasts.r-universe.dev",
  "Date/Publication": "2026-02-04 09:09:26 UTC",
  "RemoteUrl": "https://github.com/epiforecasts/contactsurveys",
  "RemoteRef": "v0.1.0",
  "RemoteSha": "d23475ca43683eb63e2af7468397b13bd89d1968",
  "Packaged": {
    "Date": "2026-07-10 07:17:53 UTC",
    "User": "root"
  },
  "Author": "Sebastian Funk [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-2842-3406>),\nNicholas Tierney [aut] (ORCID: <https://orcid.org/0000-0003-1460-8722>),\nHugo Gruson [ctb] (ORCID: <https://orcid.org/0000-0002-4094-1476>)",
  "Maintainer": "Sebastian Funk <sebastian.funk@lshtm.ac.uk>",
  "_user": "epiforecasts",
  "_type": "src",
  "_file": "contactsurveys_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/a19920c8ae98d8ca23c6e87030ca7b185f8fed22338803f2b33da13b60bba813",
  "_filesize": 212421,
  "_sha256": "a19920c8ae98d8ca23c6e87030ca7b185f8fed22338803f2b33da13b60bba813",
  "_expires": "2026-10-18T07:26:29.000Z",
  "_created": "2026-07-10T07:17:53.000Z",
  "_published": "2026-07-10T07:26:31.071Z",
  "_jobs": [
    {
      "job": 86308444568,
      "time": 415,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8220967519"
    },
    {
      "job": 86308444581,
      "time": 437,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8220974716"
    },
    {
      "job": 86308444564,
      "time": 359,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8220947850"
    },
    {
      "job": 86308444595,
      "time": 380,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8220955172"
    },
    {
      "job": 86307929461,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8220827052"
    },
    {
      "job": 86308444593,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8220874294"
    },
    {
      "job": 86308444567,
      "time": 410,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8220965517"
    },
    {
      "job": 86308444575,
      "time": 380,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8220954616"
    },
    {
      "job": 86308444657,
      "time": 466,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8220984446"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062",
  "_status": "success",
  "_upstream": "https://github.com/epiforecasts/contactsurveys",
  "_commit": {
    "id": "d23475ca43683eb63e2af7468397b13bd89d1968",
    "author": "Sebastian Funk <sebastian.funk@lshtm.ac.uk>",
    "committer": "Sebastian Funk <sebastian.funk@lshtm.ac.uk>",
    "message": "Run document workflow on PRs only, not main\n\nCo-authored-by: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com>\n",
    "time": 1770196166
  },
  "_maintainer": {
    "name": "Sebastian Funk",
    "email": "sebastian.funk@lshtm.ac.uk",
    "login": "sbfnk",
    "mastodon": "@sbfnk@fosstodon.org",
    "bluesky": "@sbfnk.bsky.social",
    "orcid": "0000-0002-2842-3406",
    "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": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "oai",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "yesno",
      "role": "Imports"
    },
    {
      "package": "zen4R",
      "version": ">= 0.10.3",
      "role": "Imports"
    },
    {
      "package": "socialmixr",
      "version": ">= 0.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxyglobals",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "epiforecasts",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 17
    },
    {
      "week": "2025-32",
      "n": 5
    },
    {
      "week": "2025-33",
      "n": 9
    },
    {
      "week": "2025-34",
      "n": 8
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-37",
      "n": 5
    },
    {
      "week": "2025-51",
      "n": 6
    },
    {
      "week": "2026-04",
      "n": 17
    },
    {
      "week": "2026-05",
      "n": 13
    },
    {
      "week": "2026-06",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-02-04"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "njtierney",
      "count": 190,
      "uuid": 6488485
    },
    {
      "user": "sbfnk",
      "count": 109,
      "uuid": 1156307
    },
    {
      "user": "bisaloo",
      "count": 21,
      "uuid": 10783929
    },
    {
      "user": "lwillem",
      "count": 5,
      "uuid": 16814096
    },
    {
      "user": "sbfnk-bot",
      "count": 2,
      "uuid": 242615673
    },
    {
      "user": "degoot-am",
      "count": 1,
      "uuid": 19929487
    },
    {
      "user": "jarvisc1",
      "count": 1,
      "uuid": 6746618
    },
    {
      "user": "alxsrobert",
      "count": 1,
      "uuid": 12156818
    }
  ],
  "_userbio": {
    "uuid": 54675094,
    "type": "organization",
    "name": "Epiforecasts",
    "followers": 76,
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 333,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contactsurveys"
  },
  "_devurl": "https://github.com/epiforecasts/contactsurveys",
  "_pkgdown": "http://epiforecasts.io/contactsurveys/",
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contactsurveys.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/epiforecasts/contactsurveys",
  "_realowner": "epiforecasts",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-01-31"
    }
  ],
  "_exports": [
    "contactsurveys_dir",
    "delete_contactsurveys_dir",
    "delete_contactsurveys_files",
    "delete_survey",
    "download_survey",
    "get_citation",
    "list_surveys",
    "ls_contactsurveys"
  ],
  "_help": [
    {
      "page": "contactsurveys_dir",
      "title": "Directory for persistent storage of contact surveys",
      "topics": [
        "contactsurveys_dir"
      ]
    },
    {
      "page": "delete-files",
      "title": "Delete files in contactsurveys directory",
      "topics": [
        "delete-files",
        "delete_contactsurveys_dir",
        "delete_contactsurveys_files"
      ]
    },
    {
      "page": "delete_survey",
      "title": "Delete files for a given survey",
      "topics": [
        "delete_survey"
      ]
    },
    {
      "page": "download_survey",
      "title": "Download a survey from its Zenodo repository",
      "topics": [
        "download_survey"
      ]
    },
    {
      "page": "get_citation",
      "title": "Get citation from a DOI",
      "topics": [
        "get_citation"
      ]
    },
    {
      "page": "is_doi",
      "title": "Checks if a character string is a DOI",
      "topics": [
        "is_doi"
      ]
    },
    {
      "page": "list_surveys",
      "title": "List all surveys available for download",
      "topics": [
        "list_surveys"
      ]
    },
    {
      "page": "ls_contactsurveys",
      "title": "List files in contactsurveys cache",
      "topics": [
        "ls_contactsurveys"
      ]
    },
    {
      "page": "print.csbib",
      "title": "Print a csbib citation",
      "topics": [
        "print.csbib"
      ]
    }
  ],
  "_readme": "https://github.com/epiforecasts/contactsurveys/raw/v0.1.0/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "data.table",
    "filelock",
    "glue",
    "httr",
    "jsonlite",
    "keyring",
    "lifecycle",
    "magrittr",
    "mime",
    "oai",
    "openssl",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "XML",
    "xml2",
    "yaml",
    "yesno",
    "zen4R"
  ],
  "_vignettes": [
    {
      "source": "contactsurveys.Rmd",
      "filename": "contactsurveys.html",
      "title": "Introduction to contactsurveys",
      "author": "Sebastian Funk & Nicholas Tierney",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Using contact matrices with socialmixr",
        "References"
      ],
      "created": "2025-07-29 03:21:30",
      "modified": "2026-01-21 09:28:54",
      "commits": 5
    }
  ],
  "_score": 5.924279286061882,
  "_indexed": true,
  "_nocasepkg": "contactsurveys",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:20:11.000Z",
      "distro": "resolute",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/77b13523c018cc7954b602364f1bfe14d8e37c6b147f574dc57c922e76ee7120",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:20:13.000Z",
      "distro": "resolute",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/b11b5d1cbec646a0de5bed7435f8f77ef4071280f6ff292e22147122bd8bb86e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:19:31.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/b0f02aa2b52f1729fe9df06c9a74cf5d9f34621468c796b542479b34a92eae3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:19:55.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/837288d4757b8425986f620a14911df991cf729b17a3b120fa26204f7d815ba6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:20:26.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/3ab290de1f0161f056c46671592b810fb72b95c8f79838bf74bac2f1b43dea91",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:19:00.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/ac97fa5149e86eb39220c89cb751583a03808ebb1eec29b1ff727c9f23efc70d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:19:04.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/01293b56c31ff13e9d2a05a398e82515ed1e4a500f60b2a54f617d85d260dac8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-10T07:19:18.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "https://r2.ropensci.org/5e67c1b7b5c6c42adad065cf78212695ee9d788a7ccb4746ed642be6a9caa6d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/29076081062"
    }
  ]
}