Skip to content

Commit 745f036

Browse files
avallecamclaude
andcommitted
rewrite survey discovery prose and update spoiler structure in contact-matrices
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d6ab518 commit 745f036

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

episodes/contact-matrices.Rmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ If `symmetric` is set to TRUE, the `contact_matrix()` function will internally u
132132

133133
::::::::::::::::::::::::::::::::::::::::::::::::
134134

135-
The example above uses the POLYMOD survey. A number of surveys are available in the [Zenodo Social Contact Data community](https://zenodo.org/communities/social_contact_data/). To list available surveys programmatically, use `contactsurveys::list_surveys()`. To download a survey from Zenodo and load it, we use `contactsurveys::download_survey()` followed by `socialmixr::load_survey()`:
135+
The example above uses the POLYMOD survey. Other surveys are available in the [Zenodo Social Contact Data community](https://zenodo.org/communities/social_contact_data/). To use a different survey, first identify its DOI (see below), then download and load it with `contactsurveys::download_survey()` and `socialmixr::load_survey()`. Here we use the Zambia and South Africa contact survey:
136136

137137
```{r, message = FALSE, warning = FALSE}
138138
# Download and load the contact survey data for Zambia from Zenodo
@@ -146,7 +146,9 @@ survey_load_zambia <- socialmixr::load_survey(files = survey_files_zambia)
146146

147147
:::::::::::::::::: spoiler
148148

149-
You can explore all the available surveys from the Zenodo repository at <https://zenodo.org/communities/social_contact_data/>. If you are interested in accessing to a specific URL within R, you can try:
149+
**Find a survey DOI with contactsurveys**
150+
151+
Browse available surveys in the [Zenodo Social Contact Data community](https://zenodo.org/communities/social_contact_data/), or list them programmatically:
150152

151153
```{r}
152154
library(contactsurveys)

0 commit comments

Comments
 (0)