{
  "_id": "6a103ebeacfb0bcc41c9caae",
  "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-05-11 09:04:06 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>",
  "MD5sum": "2db6192709236e441d12e9bf54ec7394",
  "_user": "epiforecasts",
  "_type": "src",
  "_file": "contactsurveys_0.1.0.9000.tar.gz",
  "_fileid": "f120d579468a7491b611a41e25b4509c431a3ad771dec1b00e84c71fcb5a3718",
  "_filesize": 210828,
  "_sha256": "f120d579468a7491b611a41e25b4509c431a3ad771dec1b00e84c71fcb5a3718",
  "_created": "2026-05-11T09:04:06.000Z",
  "_published": "2026-05-22T11:32:14.841Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77371064400,
      "time": 422,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914548019"
    },
    {
      "job": 77371064158,
      "time": 438,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914551087"
    },
    {
      "job": 77371064015,
      "time": 419,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914544418"
    },
    {
      "job": 77371064171,
      "time": 349,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914520844"
    },
    {
      "job": 77371063812,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914402400"
    },
    {
      "job": 77371063441,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159466026"
    },
    {
      "job": 77371064399,
      "time": 411,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914542153"
    },
    {
      "job": 77371064134,
      "time": 419,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914544938"
    },
    {
      "job": 77371063991,
      "time": 459,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914558707"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 1156307
  },
  "_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-26",
      "n": 2
    },
    {
      "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": "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",
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 316,
    "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.0",
  "_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",
    "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.898725181589493,
  "_indexed": true,
  "_nocasepkg": "contactsurveys",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:06:35.000Z",
      "distro": "noble",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "959bb00b5844f4c1a046225d4f533c2818320f49c06cf046a3a20827d72d6437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:06:32.000Z",
      "distro": "noble",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "b981d1811e42938f725e2f13dabd6d689b91dd62ae46fcac7d2d7de91d4317ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:06:05.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "5d42497ccd58ebe02c3811f7ce110b6172ea1921d0cfc8f2d9a76feace4b0c0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:05:40.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "e3b777a69cad77249b9108738faea4696c952308f7dcaa63d460b4ecd16779ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:05:31.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "d94097ebe04d441335b2ff7b840b4fe3460cc6dcb248a80a9385d5ae3a7d6ac3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:05:25.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "b311a12956ab9521525249a8209a91b75d81060379b4c0aa41dd91426d794281",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-05-11T09:05:28.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "303a7f9fcde978be68a81bd248a52b537f6f80fd2d40e1b43c9e8e81f3abdaf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-05-22T11:31:54.000Z",
      "commit": "d23475ca43683eb63e2af7468397b13bd89d1968",
      "fileid": "2769f7b9811d915873087794088cb78c14f31380944722afe02bd015a40356d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/25660573288"
    }
  ]
}