{
  "_id": "6ad885c84b18b9008999af50",
  "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-10-21 09:19:31 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/9a630cd03f40dcea652ddb660910d6f98f4a7eefcba7160bb62f0f82de8e4761",
  "_filesize": 216035,
  "_sha256": "9a630cd03f40dcea652ddb660910d6f98f4a7eefcba7160bb62f0f82de8e4761",
  "_expires": "2027-01-29T09:28:38.000Z",
  "_created": "2026-10-21T09:19:31.000Z",
  "_published": "2026-10-21T09:28:40.287Z",
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 119141879490,
      "time": 483,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12334074449"
    },
    {
      "job": 119141879469,
      "time": 486,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12334194914"
    },
    {
      "job": 119141879458,
      "time": 448,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12334870653"
    },
    {
      "job": 119141879463,
      "time": 486,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12334518159"
    },
    {
      "job": 119140482383,
      "time": 195,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12334436934"
    },
    {
      "job": 119141879424,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12333832852"
    },
    {
      "job": 119141879508,
      "time": 315,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12334209323"
    },
    {
      "job": 119141879406,
      "time": 510,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12335325151"
    },
    {
      "job": 119141879532,
      "time": 446,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12333499229"
    }
  ],
  "_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": 381,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contactsurveys"
  },
  "_devurl": "https://github.com/epiforecasts/contactsurveys",
  "_pkgdown": "http://epiforecasts.io/contactsurveys/",
  "_searchresults": 29,
  "_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.1525940779274695,
  "_indexed": true,
  "_nocasepkg": "contactsurveys",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:37.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/ab2814f1bcc97c69bab1791cc2dfa84d5d0f07dc0689d89ee83194ce31f28c85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:35.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/8fc0cbaa7e1971d66072b526a77b2d1d736ebd4d699fc568d5b309b3168f1d90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:24.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/2dd60a2a3eaadeaa4b2d66f89cda661eb4dd7e622cd60d99d298fe61f8f45233",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:20.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/c74ec2c62cb15ae5892380c5d828c541ce7b4f077dddc6dfd5bc8cf4bf78a05f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:40.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/7c646bfe2e557a1b2f9b677c30b237cc55746e7b5d420e093ffea5bb4d9e88b1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:20:40.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/34cc12caf08411975a413aed44a64dddd330bbf6ad86176dfaec9c0c166dad69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:21:07.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/a8476bf98740e679b1aaab546cb34006b2d9b9c83a676822f0d85119be43b4b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:20:44.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/51ab8d45db0e0e42f9f290f723653dd6bd3ece2e0fe59362e302a3ae1473603f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/39575632285"
    }
  ]
}