label_normalize: Create Normalized Variable & Value Labels

Description Usage Arguments Value See Also Examples

View source: R/label_normalize.R

Description

Remove relative reference to question blocks, special characters used in regular expressions, whitespace and bring the variable and value labels to snake_case_format.

Usage

1

Arguments

x

A vector of the (GESIS) variable or value labels

Value

A character vector with the normalized labels

See Also

Other naming functions: val_label_normalize(), var_label_normalize()

Examples

1
2
3
4
label_normalize (
    c("QA17_1 EUROPEAN PARLIAMENT - TRUST",
      "QA13_1 TRUST IN INSTITUTIONS: NAT GOVERNMENT" )
)

antaldaniel/eurobarometer documentation built on Aug. 31, 2020, 10:57 p.m.