Skip to content

Commit 8e725b9

Browse files
committed
hard-code UMD V15a display logic
1 parent 4a63603 commit 8e725b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

facebook/qsf-tools/generate-codebook.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ process_qsf <- function(path_to_qsf,
267267
map(~ gsub(" $", "", .x)) %>%
268268
unlist()
269269

270+
# Hard-code display logic for UMD V15a.
271+
if (survey_version == "UMD" && wave == 12) {
272+
display_logic[which(item_names == "V15a")] <- "If V1/SelectableChoice/1 Is NotSelected"
273+
}
274+
270275
# format all qsf content lists into a single tibble
271276
qdf <- tibble(variable = item_names,
272277
question = questions,

0 commit comments

Comments
 (0)