Skip to contents

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)
#> Using POLYMOD social contact data. To cite this in a publication, use the 'get_citation()' function
#> [1] "Italy"          "Germany"        "Luxembourg"     "Netherlands"   
#> [5] "Poland"         "United Kingdom" "Finland"        "Belgium"