Skip to content

Commit 6071a9d

Browse files
committed
update item descriptions and replacements
1 parent 1130172 commit 6071a9d

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

facebook/qsf-tools/generate-codebook.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ process_qsf <- function(path_to_qsf,
326326

327327
if (any(is.na(qdf$description))) {
328328
nonlabelled_items <- qdf$variable[is.na(qdf$description)]
329-
stop(sprintf("items %s do not have a short name assigned",
329+
stop(sprintf("items %s do not have a description provided",
330330
paste(nonlabelled_items, collapse=", "))
331331
)
332332
}

facebook/qsf-tools/static/item_replacement_map.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ V11a,V11
3535
V12a,V12
3636
C7a,C7
3737
B10c,B10a
38+
V15c,V15a
39+
V1alt,V1
40+
B13a,B13
41+
P1,E1
42+
P2,E1
43+
P3,E4
44+
P5,E2
45+
P6,E3

facebook/qsf-tools/static/item_shortquestion_map.csv

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,13 @@ V12a,"tried get vaccine"
126126
V15a,"vaccine access barriers vaccinated"
127127
V15b,"vaccine access barriers unvaccinated"
128128
V16,"when try vaccinated"
129-
V3a,"vaccine accepting"
129+
V3a,"vaccine accepting"
130+
V15c,"vaccine access barriers vaccinated"
131+
V1alt,"know anyone vaccinated"
132+
B13a,"COVID ever"
133+
P1,"have children <18"
134+
P2,"oldest child age"
135+
P3,"vaccinate oldest child"
136+
P4,"oldest child school type"
137+
P5,"oldest child school remote type"
138+
P6,"oldest child school safety measures"

0 commit comments

Comments
 (0)