mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:00:48 +01:00
WHONET/EARS-Net support
This commit is contained in:
1 parent
f6336fdd89
commit
6aae206320
83 files changed
+1428
-633
No files matched your search
@@ -220,6 +220,14 @@ first_isolate <- function(tbl,
|
||||
col_keyantibiotics <- NULL
|
||||
}
|
||||
|
||||
# -- specimen
|
||||
if (is.null(col_specimen)) {
|
||||
col_specimen <- search_type_in_df(tbl = tbl, type = "specimen")
|
||||
}
|
||||
if (isFALSE(col_specimen)) {
|
||||
col_specimen <- NULL
|
||||
}
|
||||
|
||||
# check if columns exist
|
||||
check_columns_existance <- function(column, tblname = tbl) {
|
||||
if (NROW(tblname) <= 1 | NCOL(tblname) <= 1) {
|
||||
|
||||
Reference in new issue
Block a user