Package: contactsurveys 0.2.0
contactsurveys: Download Contact Surveys for Use in Infectious Disease Modelling
Download, cache, and manage social contact survey data from the social contact data community on Zenodo (<https://zenodo.org/communities/social_contact_data>) for use in infectious disease modelling. Provides functions to list available surveys, download survey files with automatic caching, and retrieve citations. Contact survey data describe who contacts whom in a population and are used to parameterise age-structured transmission models, for example via the 'socialmixr' package. The surveys available include those from the POLYMOD study (Mossong et al. (2008) <doi:10.1371/journal.pmed.0050074>) and other social contact data shared on Zenodo.
Authors:
contactsurveys_0.2.0.tar.gz
contactsurveys_0.2.0.zip(r-4.7-any)contactsurveys_0.2.0.zip(r-4.6-any)contactsurveys_0.2.0.zip(r-4.5-any)
contactsurveys_0.2.0.tgz(r-4.6-any)contactsurveys_0.2.0.tgz(r-4.5-any)
contactsurveys_0.2.0.tar.gz(r-4.7-any)contactsurveys_0.2.0.tar.gz(r-4.6-any)
contactsurveys_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
contactsurveys/json (API)
| # Install 'contactsurveys' in R: |
| install.packages('contactsurveys', repos = c('https://epiforecasts.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/epiforecasts/contactsurveys/issues
Pkgdown/docs site:https://epiforecasts.io
Last updated from:c7dd0768aa (on v0.2.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 535 | ||
| source / vignettes | OK | 281 | ||
| linux-release | OK | 377 | ||
| macos-release | OK | 352 | ||
| macos-oldrel | OK | 267 | ||
| windows-devel | OK | 465 | ||
| windows-release | OK | 445 | ||
| windows-oldrel | OK | 559 | ||
| wasm-release | OK | 121 |
Exports:contactsurveys_dirdelete_contactsurveys_dirdelete_contactsurveys_filesdelete_surveydownload_surveyget_citationlist_surveysls_contactsurveys
Dependencies:askpassclicurldata.tablefilelockgluehttrjsonlitekeyringlifecyclemagrittrmimeoaiopensslpillarpkgconfigplyrpurrrR6Rcpprlangstringistringrsystibbleutf8vctrsXMLxml2yamlyesnozen4R
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Directory for persistent storage of contact surveys | contactsurveys_dir |
| Delete files in contactsurveys directory | delete-files delete_contactsurveys_dir delete_contactsurveys_files |
| Delete files for a given survey | delete_survey |
| Download a survey from its Zenodo repository | download_survey |
| Get citation from a DOI | get_citation |
| Checks if a character string is a DOI | is_doi |
| List all surveys available for download | list_surveys |
| List files in contactsurveys cache | ls_contactsurveys |
| Print a csbib citation | print.csbib |
| Extracts meta-data and repository info from a zen4R::ZenodoRecord object | store_reference |