survey_countries {socialmixr}R 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 or url to get the survey from, 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)

[Package socialmixr version 0.3.2 Index]