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

val_label_normalize(x)

Arguments

x

A vector of the (GESIS) value labels

Value

A character vector with the normalized value labels.

See also

Other naming functions: label_normalize(), var_label_normalize()

Examples

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' ) )
#> [1] "qf4c_interests_info_sources_internet" #> [2] "a_children_needs_some_new_clothes" #> [3] "b_research_info_source_preference_2nd" #> [4] "eu_meaning_cultural_diversity" #> [5] "size_of_community_austria" #> [6] "d_cy_websites_other" #> [7] "love_relationship_of_child_christian_person"