var_label_normalize: Create Normalized Variable Labels

Description Usage Arguments Value See Also Examples

View source: R/var_label_normalize.R

Description

Remove relative reference to question blocks, special characters used in regular expressions, whitespace.

Usage

1

Arguments

x

A vector of the (GESIS) variable labels

Value

A character vector with the normalized variable labels.

See Also

Other naming functions: label_normalize(), val_label_normalize()

Examples

1
2
3
4
5
6
7
8
9
label_normalize (
 c('QF4C INTERESTS INFO SOURCES: INTERNET',
   'QB15A CHILDREN NEEDS: SOME NEW CLOTHES',
   'QB9B RESEARCH INFO SOURCE - PREFERENCE 2ND',
   'EU MEANING: CULTURAL DIVERSITY',
   'P6 SIZE OF COMMUNITY - AUSTRIA',
   'D49D_CY WEBSITES: OTHER',
   'LOVE RELATIONSHIP OF CHILD - CHRISTIAN PERSON' )
)

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