Skip to contents

[Defunct]

get_survey() is defunct. Use contactsurveys::download_survey() and then load_survey() instead.

Usage

get_survey(survey, clear_cache = FALSE, ...)

Arguments

survey

a DOI or url to get the survey from, or a survey object

clear_cache

logical, whether to clear the cache before downloading the survey

...

currently unused

Value

Always errors.

Examples

if (FALSE) { # \dontrun{
peru_doi <- "https://doi.org/10.5281/zenodo.1095664"
peru_survey <- contactsurveys::download_survey(peru_doi)
peru_data <- load_survey(peru_survey)
} # }