split_common_unique {surveydata}R Documentation

Get common and unique text in question based on regex pattern identification.

Description

Get common and unique text in question based on regex pattern identification.

Usage

split_common_unique(x, ptn = NULL)

Arguments

x

A character vector

ptn

A regex() pattern that defines how the string should be split into common and unique elements

See Also

Other Question functions: question_text_common(), question_text_unique(), question_text(), questions(), which.q()


[Package surveydata version 0.2.7 Index]