Learn R Programming

socialmixr (version 0.4.0)

survey_countries: List all countries contained in a survey

Description

List all countries contained in a survey

Usage

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

Value

list of countries

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()

Examples

Run this code
data(polymod)
survey_countries(polymod)

Run the code above in your browser using DataLab