Hi - I want to identify duplicates - without necessarily removing them- based on three character variables: district_sanitaire, grappe_no, hh_num. The current code I have is:
df_household_level<- df_household_level %>%
group_by(district_sanitaire, grappe_no, hh_num) %>%
mutate(dupe = n()>1)
But it doesn't look like this necessarily identifies all double entries for those three variables. Any suggestions?