WHONET/EARS-Net support

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-01-29 00:06:50 +01:00
1 parent f6336fdd89
commit 6aae206320
83 files changed
+1428 -633

No files matched your search

+8
View File
@@ -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) {