{
  "_id": "6b003479a59869b7085812e5",
  "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-11-20 11:41:33 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/0d1f633f3a59322c1aae5e173a0801900c8510c009e9003859363f0ac0646502",
  "_filesize": 216070,
  "_sha256": "0d1f633f3a59322c1aae5e173a0801900c8510c009e9003859363f0ac0646502",
  "_expires": "2027-02-28T11:52:23.000Z",
  "_created": "2026-11-20T11:41:33.000Z",
  "_published": "2026-11-20T11:52:25.441Z",
  "_upstream": "https://github.com/epiforecasts/contactsurveys",
  "_status": "success",
  "_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,
    "orcid": "0000-0002-2842-3406"
  },
  "_jobs": [
    {
      "job": 136266020547,
      "time": 444,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14625852944"
    },
    {
      "job": 136266020567,
      "time": 554,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14625948410"
    },
    {
      "job": 136266020572,
      "time": 464,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14625677738"
    },
    {
      "job": 136266020593,
      "time": 499,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14626750432"
    },
    {
      "job": 136264420183,
      "time": 210,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14625582354"
    },
    {
      "job": 136266020557,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14625258810"
    },
    {
      "job": 136266020528,
      "time": 611,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14626550890"
    },
    {
      "job": 136266020599,
      "time": 395,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14625278876"
    },
    {
      "job": 136266020573,
      "time": 378,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14625682585"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 110,
      "uuid": 1156307
    },
    {
      "user": "bisaloo",
      "count": 21,
      "uuid": 10783929
    },
    {
      "user": "sbfnk-bot",
      "count": 12,
      "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": 78,
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 464,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contactsurveys"
  },
  "_devurl": "https://github.com/epiforecasts/contactsurveys",
  "_pkgdown": "http://epiforecasts.io/contactsurveys/",
  "_rbuild": "4.6.2",
  "_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"
    }
  ],
  "_authors": [
    {
      "name": "Sebastian Funk",
      "email": "sebastian.funk@lshtm.ac.uk",
      "orcid": "0000-0002-2842-3406",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    },
    {
      "name": "Nicholas Tierney",
      "email": "nicholas.tierney@gmail.com",
      "orcid": "0000-0003-1460-8722",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Hugo Gruson",
      "orcid": "0000-0002-4094-1476",
      "role": [
        "ctb"
      ]
    }
  ],
  "_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": 5.690196080028514,
  "_indexed": true,
  "_nocasepkg": "contactsurveys",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-20T11:43:42.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/62859d708295182b00f54f3e706187f68b49eaec1555d1e7efa1c5c71c743f45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-20T11:43:52.000Z",
      "distro": "resolute",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/5ea4e999e92c988824f92e8e47750015d1d68fe646c4737eafeacdc6542fcdee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-20T11:43:22.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/1493f06b7ae34885cff2a3583ba0ff8dec7b2f8f31c6551c27e51fc7254e9aac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-20T11:43:34.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/e48e2c7043c003be5b6fa89aa46d33f0987adaec73bc23e0005a25319189ff47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-20T11:43:53.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/c43af4e8495fe64c7199f9a82c1328db38116ab82c5f85ab45f1d55289f180c5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-20T11:42:44.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/fc76855de96cbfae139db3e706acbdd3750a7ce2c2d25bc324e8b687358593e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-20T11:42:47.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/5c32392d633611b146ff29359c28105687537a9fa1830793d35676928e9ba0e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-20T11:42:44.000Z",
      "commit": "c7dd0768aa99fa66c3c0d884039afeef9f2ccc66",
      "fileid": "https://r2.ropensci.org/25d78585bf23152b14cdfa3146b52ef657cc7e6ed34e3d091b78648993ec3900",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/44729187880"
    }
  ]
}