download_survey {socialmixr} | R Documentation |
Download a survey from its Zenodo repository
Description
Downloads survey data
Usage
download_survey(survey, dir = NULL, sleep = 1)
Arguments
survey |
a URL (see |
dir |
a directory to save the files to; if not given, will save to a temporary directory |
sleep |
time to sleep between requests to avoid overloading the server
(passed on to |
Value
a vector of filenames that can be used with load_survey
Examples
## Not run:
list_surveys()
peru_survey <- download_survey("https://doi.org/10.5281/zenodo.1095664")
## End(Not run)
[Package socialmixr version 0.3.2 Index]