survey_countries: List all countries contained in a survey

View source: R/lists.r

survey_countriesR Documentation

List all countries contained in a survey

Description

List all countries contained in a survey

Usage

survey_countries(survey, country.column = "country", ...)

Arguments

survey

a DOI (see list_surveys()), or a character vector of file names, or a survey() object (in which case only cleaning is done).

country.column

column in the survey indicating the country

...

further arguments for get_survey()

Value

list of countries

Examples

data(polymod)
survey_countries(polymod)

socialmixr documentation built on Oct. 29, 2022, 1:09 a.m.