(v1.4.0.9012) reference_df fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-11-05 01:11:49 +01:00
1 parent 5a607abb36
commit 423879c034
19 files changed
+98 -66

No files matched your search

+5
View File
@@ -80,6 +80,11 @@ a \%like\% b
if (require("dplyr")) {
example_isolates \%>\%
filter(mo_name(mo) \%like\% "^ent")
example_isolates \%>\%
mutate(group = case_when(hospital_id \%like\% "A|D" ~ "Group 1",
mo_name(mo) \%not_like\% "^Staph" ~ "Group 2a",
TRUE ~ "Group 2b"))
}
}
}