Package: contactsurveys 0.1.0.9000
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.1.0.9000.tar.gz
contactsurveys_0.1.0.9000.zip(r-4.7)contactsurveys_0.1.0.9000.zip(r-4.6)contactsurveys_0.1.0.9000.zip(r-4.5)
contactsurveys_0.1.0.9000.tgz(r-4.6-any)contactsurveys_0.1.0.9000.tgz(r-4.5-any)
contactsurveys_0.1.0.9000.tar.gz(r-4.7-any)contactsurveys_0.1.0.9000.tar.gz(r-4.6-any)
contactsurveys_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
contactsurveys/json (API)
NEWS
| # 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:d23475ca43 (on v0.1.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 422 | ||
| source / vignettes | OK | 185 | ||
| linux-release-x86_64 | OK | 438 | ||
| macos-release-arm64 | OK | 349 | ||
| macos-oldrel-arm64 | OK | 419 | ||
| windows-devel | OK | 411 | ||
| windows-release | OK | 459 | ||
| windows-oldrel | OK | 419 | ||
| wasm-release | OK | 111 |
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 |
