mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:40:48 +01:00
better as.mo handling
This commit is contained in:
1 parent
5cfa5bbfe3
commit
60fe98bbbd
9 files changed
+204
-50
No files matched your search
+2
-2
@@ -164,8 +164,8 @@ first_isolate <- function(tbl,
|
||||
message("NOTE: Using column `", col_date, "` as input for `col_date`.")
|
||||
}
|
||||
# -- patient id
|
||||
if (is.null(col_patient_id) & any(colnames(tbl) %like% "^patient")) {
|
||||
col_patient_id <- colnames(tbl)[colnames(tbl) %like% "^patient"][1]
|
||||
if (is.null(col_patient_id) & any(colnames(tbl) %like% "^(patient|patid)")) {
|
||||
col_patient_id <- colnames(tbl)[colnames(tbl) %like% "^(patient|patid)"][1]
|
||||
message("NOTE: Using column `", col_patient_id, "` as input for `col_patient_id`.")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user