Skip to content

Commit 4327856

Browse files
committed
add in some older indicators
that are reported in the survey API indicators and we also want in the contingency tables, to match.
1 parent 8e6c13d commit 4327856

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

facebook/delphiFacebook/R/contingency_indicators.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,14 @@ get_aggs <- function() {
7373
## Mask wearing and distancing
7474
"pct_wearing_mask_5d", "c_mask_often", compute_binary, jeffreys_binary,
7575
"pct_wearing_mask_7d", "c_mask_often_7d", compute_binary, jeffreys_binary,
76+
"pct_others_masked", "c_others_masked", compute_binary, jeffreys_binary,
7677
"pct_others_masked_public", "c_others_masked_public", compute_binary, jeffreys_binary,
7778
"pct_others_distanced_public", "c_others_distanced_public", compute_binary, jeffreys_binary,
7879

7980
"pct_cli", "hh_p_cli", compute_household_binary, jeffreys_count,
8081
"pct_ili", "hh_p_ili", compute_household_binary, jeffreys_count,
8182
"pct_hh_cmnty_cli", "hh_community_yes", compute_binary, jeffreys_binary,
83+
"pct_nohh_cmnty_cli", "community_yes", compute_binary, jeffreys_binary,
8284
"pct_direct_contact", "c_direct_contact", compute_binary, jeffreys_binary,
8385

8486
# symptoms
@@ -297,8 +299,6 @@ get_aggs <- function() {
297299
"pct_race_treated_fairly_healthcare", "b_race_treated_fairly_healthcare", compute_binary, jeffreys_binary,
298300
"pct_delayed_care_cost", "b_delayed_care_cost", compute_binary, jeffreys_binary,
299301

300-
"pct_worried_catch_covid", "mh_worried_catch_covid", compute_binary, jeffreys_binary,
301-
302302
# topics want to learn about
303303
"pct_want_info_covid_treatment", "i_want_info_covid_treatment", compute_binary, jeffreys_binary,
304304
"pct_want_info_vaccine_access", "i_want_info_vaccine_access", compute_binary, jeffreys_binary,
@@ -349,6 +349,8 @@ get_aggs <- function() {
349349
"pct_anxious_7d", "mh_anxious_7d", compute_binary, jeffreys_binary,
350350
"pct_depressed_7d", "mh_depressed_7d", compute_binary, jeffreys_binary,
351351
"pct_felt_isolated_7d", "mh_isolated_7d", compute_binary, jeffreys_binary,
352+
# wave 11
353+
"pct_worried_catch_covid", "mh_worried_catch_covid", compute_binary, jeffreys_binary,
352354

353355
# travel outside state
354356
# pre-wave 10

0 commit comments

Comments
 (0)