{
  "_id": "6ab100803d719c1f84085a0b",
  "Package": "contactsurveys",
  "Title": "Download Contact Surveys for Use in Infectious Disease Modelling",
  "Version": "0.2.0",
  "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",
  "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/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libicu-dev libsecret-1-dev libxml2-dev libssl-dev",
  "Repository": "https://epiforecasts.r-universe.dev",
  "Date/Publication": "2026-08-21 15:55:42 UTC",
  "RemoteUrl": "https://github.com/epiforecasts/contactsurveys",
  "RemoteRef": "v0.2.0",
  "RemoteSha": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
  "Packaged": {
    "Date": "2026-09-21 09:51:35 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.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2e3825294b04931b8ced56f98c8d79261c24dea3edb67d8ab690eae8398036c0",
  "_filesize": 218813,
  "_sha256": "2e3825294b04931b8ced56f98c8d79261c24dea3edb67d8ab690eae8398036c0",
  "_expires": "2026-12-30T10:01:34.000Z",
  "_created": "2026-09-21T09:51:35.000Z",
  "_published": "2026-09-21T10:01:36.151Z",
  "_jobs": [
    {
      "job": 106288180898,
      "time": 535,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632147853"
    },
    {
      "job": 106288180893,
      "time": 377,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10633185037"
    },
    {
      "job": 106288180951,
      "time": 267,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10632315941"
    },
    {
      "job": 106288180928,
      "time": 352,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632481106"
    },
    {
      "job": 106286842159,
      "time": 281,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631224649"
    },
    {
      "job": 106288180964,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10632071801"
    },
    {
      "job": 106288180924,
      "time": 465,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632052871"
    },
    {
      "job": 106288180901,
      "time": 559,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10632911804"
    },
    {
      "job": 106288180923,
      "time": 445,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632736696"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839",
  "_status": "success",
  "_upstream": "https://github.com/epiforecasts/contactsurveys",
  "_commit": {
    "id": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
    "author": "Sebastian Funk - robot edition <242615673+sbfnk-bot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Prepare 0.2.0 release (#154)\n\nCo-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>",
    "time": 1787327742
  },
  "_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": "jsonlite",
      "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-51",
      "n": 6
    },
    {
      "week": "2026-04",
      "n": 17
    },
    {
      "week": "2026-05",
      "n": 13
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 4
    },
    {
      "week": "2026-34",
      "n": 8
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-02-04"
    },
    {
      "name": "v0.2.0",
      "date": "2026-08-21"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "njtierney",
      "count": 190,
      "uuid": 6488485
    },
    {
      "user": "sbfnk",
      "count": 109,
      "uuid": 1156307
    },
    {
      "user": "bisaloo",
      "count": 21,
      "uuid": 10783929
    },
    {
      "user": "sbfnk-bot",
      "count": 11,
      "uuid": 242615673
    },
    {
      "user": "lwillem",
      "count": 6,
      "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",
    "followers": 77,
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 397,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contactsurveys"
  },
  "_devurl": "https://github.com/epiforecasts/contactsurveys",
  "_pkgdown": "http://epiforecasts.io/contactsurveys/",
  "_searchresults": 28,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contactsurveys.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/epiforecasts/contactsurveys",
  "_realowner": "epiforecasts",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-01-31"
    },
    {
      "version": "0.2.0",
      "date": "2026-08-21"
    }
  ],
  "_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"
      ]
    },
    {
      "page": "store_reference",
      "title": "Extracts meta-data and repository info from a zen4R::ZenodoRecord object",
      "topics": [
        "store_reference"
      ]
    }
  ],
  "_readme": "https://github.com/epiforecasts/contactsurveys/raw/v0.2.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-08-21 15:55:42",
      "commits": 6
    }
  ],
  "_score": 6.137354111370733,
  "_indexed": true,
  "_nocasepkg": "contactsurveys",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-21T09:53:54.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/8d6f27dda0b918192abbc516156c7a2ef496597fde767c41da7b511e7765b66f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-21T09:53:57.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/7345ebb1ba947d340b949f67864cc9c4174942bf291691956a3e3738bbf800bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-21T09:52:50.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/9e8eedb7d9cbb55148d31019b90b7f1adc0f5314af7ed3e5fb8ea9f9a2aaac3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-21T09:53:08.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/3b7c657b19e0ae4617da566ed593f39938b4c353fe5795cd255865213177aac0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-21T09:53:54.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/d3187f23c585407fa28a0729401f7d033ea978baf8573a5f3d1b1cfe69da73c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-21T09:52:46.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/6c63d5f530b8e4a477022e5d8116d7b43e8775fa2976f617a05455c5be709ab8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-21T09:52:43.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/8a3f72be1d47dda589c5ce2470c713ca945a7617a02b451584b9a56f58b68c16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-21T09:52:44.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/b030ad96f5aea036ce0ba266c1020e6ac35376bb0c48e3e0f13611ae69d3b877",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/35585181839"
    }
  ]
}