get_variables: Get variable names of the 'cooperatives' dataset

Description Usage Arguments Value See Also Examples

View source: R/get_variables.R

Description

Extracts variable names from the cooperatives dataset

Usage

1

Arguments

sort

if sort = FALSE (the default) variable names are returned in the original order of the database (usefull, because they are grouped by type). If sort = TRUE variable names are sorted alphabetically (usefull to inspect existing variables).

Value

a character vector containing the names of the variables in the dataset

See Also

cooperatives

Examples

1
2
3
4
5
# Extract variable names in original order
get_variables(sort = FALSE)

# Extract sorted variable names
get_variables(sort = TRUE)

jcvdav/cooperatR documentation built on May 29, 2019, 1:02 a.m.