diff --git a/01_INVENTORY/INVENTORY_02_list_all_inventory_participants.R b/01_INVENTORY/INVENTORY_02_list_all_inventory_participants.R index 6b5b17a7b24c3ad60acaca5217527001f17d1c8f..a921694fd62546cf32fb1012e485910f3adeb0fb 100644 --- a/01_INVENTORY/INVENTORY_02_list_all_inventory_participants.R +++ b/01_INVENTORY/INVENTORY_02_list_all_inventory_participants.R @@ -77,7 +77,7 @@ inventory_list_p <- dat_inventory_raw %>% country %in% c("E", "Ethiopia") & agey > 24 ~ "y24_inf")) %>% # Discard rows for whom no data was filled, i.e. empty placeholders in REDCap - filter(!is.na(sex) & !is.na(agey)) %>% + filter(!is.na(sex) | !is.na(agey)) %>% # Retain only columns of interest for derived data (list of everyone in inventory) select(