Package: contactdata 1.1.0.9000
contactdata: Social Contact Matrices for 177 Countries
Data package for the supplementary data in Prem et al. (2017) <doi:10.1371/journal.pcbi.1005697> and Prem et al. <doi:10.1371/journal.pcbi.1009098>. Provides easy access to contact data for 177 countries, for use in epidemiological, demographic or social sciences research.
Authors:
contactdata_1.1.0.9000.tar.gz
contactdata_1.1.0.9000.zip(r-4.7)contactdata_1.1.0.9000.zip(r-4.6)contactdata_1.1.0.9000.zip(r-4.5)
contactdata_1.1.0.9000.tgz(r-4.6-any)contactdata_1.1.0.9000.tgz(r-4.5-any)
contactdata_1.1.0.9000.tar.gz(r-4.7-any)contactdata_1.1.0.9000.tar.gz(r-4.6-any)
contactdata_1.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
contactdata/json (API)
NEWS
| # Install 'contactdata' in R: |
| install.packages('contactdata', repos = c('https://bisaloo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/socialcontactdata/contactdata/issues
Pkgdown/docs site:https://socialcontactdata.github.io
demographicsepidemiologysocial-sciences
Last updated from:90e28f18ec. Checks:9 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 199 | ||
| linux-release-x86_64 | OK | 127 | ||
| macos-release-arm64 | OK | 87 | ||
| macos-oldrel-arm64 | OK | 83 | ||
| windows-devel | OK | 73 | ||
| windows-release | OK | 64 | ||
| windows-oldrel | OK | 70 | ||
| wasm-release | OK | 106 |
Exports:age_df_countriescontact_df_countriescontact_matrixlist_countries
Dependencies:
List of included regions
Rendered fromcountries.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-03-22
Started: 2020-09-05
Visualise age pyramids
Rendered fromvisualise_age.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-03-21
Started: 2021-02-18
Visualise contact matrices
Rendered fromvisualise_contact.Rmdusingknitr::rmarkdownon May 23 2026.Last update: 2023-03-21
Started: 2021-02-18
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Get a data.frame (in long format) of population by age for multiple countries | age_df_countries |
| Get a data.frame (in long format) of contact data for multiple countries | contact_df_countries |
| Get contact data matrix for a specific country | contact_matrix |
| Get the list of countries included in the dataset | list_countries |
