Surveys often record multiple response questions in delimited lists where
each respondent's selections are separated by a delimiter like
This function breaks the delimited responses into subvariables, uploads those
subvariables to Crunch, and finally creates a multiple response variable from
makeMRFromText( var, delim, name, selected = "selected", not_selected = "not_selected", unanswered = NA, ... )
The variable containing the delimited responses
The delimiter separating the responses
The name of the resulting MR variable
A character string used to indicate a selection, defaults to "selected"
Character string identifying non-selection, defaults to "not_selected"
Character string indicating non-response, defaults to NA.
Other arguments to be passed on to
a Multiple response variable definition