You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kobo_example <- data.frame(type = c("text", "select_one main_reason_left_country_list"),
name = c("main_reason_left_country_other", "main_reason_left_country"),
label = c("What is the main reason for which you and your household left your country of origin?",
"What is the main reason for which you and your household left your country of origin?"),
relevant = "selected(${main_reason_left_country}, \"other\")")
create_logic_for_other(kobo_survey = kobo_example)
kobo_example <- data.frame(type = c("text", "select_one main_reason_left_country_list"),
name = c("main_reason_left_country_other", "main_reason_left_country"),
label = c("What is the main reason for which you and your household left your country of origin?",
"What is the main reason for which you and your household left your country of origin?"),
relevant = "selected(${main_reason_left_country}, 'other')")
create_logic_for_other(kobo_survey = kobo_example)
The text was updated successfully, but these errors were encountered:
kobo_example <- data.frame(type = c("text", "select_one main_reason_left_country_list"),
name = c("main_reason_left_country_other", "main_reason_left_country"),
label = c("What is the main reason for which you and your household left your country of origin?",
"What is the main reason for which you and your household left your country of origin?"),
relevant = "selected(${main_reason_left_country}, \"other\")")
kobo_example$relevant <- stringr::str_replace_all(kobo_example$relevant, "\"", "'")
create_logic_for_other(kobo_survey = kobo_example)
The text was updated successfully, but these errors were encountered: