Closed nszekeres closed 4 years ago
@btskinner - General Question...
## df_joined %>% ## distinct(CHFNM) %>% ## filter(xor(str_detect(CHFNM, "Dr"), str_detect(CHFNM, "Dr."), str_detect(CHNFM, "DR"))) %>% ## arrange (CHFNM)
@btskinner - whoops! Don't answer that - had not looked at the Bonus Q; I figured it out. :)
@btskinner - General Question...
How do you make a str_detect statement that captures multiple criteria? -- the below did not work:
Or, is there a way to use a "starts with" function with a filter, like we do on "select"?