mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 17:02:03 +02:00
WHONET/EARS-Net support
This commit is contained in:
@ -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