(v1.5.0.9029) added missing families and orders

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-03-05 01:31:46 +01:00
1 parent ddf88345f1
commit 0e0e3c4ffa
30 files changed
+61003 -60523

No files matched your search

+6 -4
View File
@@ -310,10 +310,12 @@ as.ab <- function(x, flag_multiple_results = TRUE, info = TRUE, ...) {
x_translated <- paste(lapply(strsplit(x[i], "[^A-Z0-9]"),
function(y) {
for (i in seq_len(length(y))) {
y[i] <- ifelse(tolower(y[i]) %in% tolower(translations_file$replacement),
translations_file[which(tolower(translations_file$replacement) == tolower(y[i]) &
!isFALSE(translations_file$fixed)), "pattern"],
y[i])
for (lang in LANGUAGES_SUPPORTED[LANGUAGES_SUPPORTED != "en"]) {
y[i] <- ifelse(tolower(y[i]) %in% tolower(translations_file[, lang, drop = TRUE]),
translations_file[which(tolower(translations_file[, lang, drop = TRUE]) == tolower(y[i]) &
!isFALSE(translations_file$fixed)), "pattern"],
y[i])
}
}
generalise_antibiotic_name(y)
})[[1]],
+2
View File
@@ -55,6 +55,7 @@ globalVariables(c(".rowid",
"language",
"lookup",
"method",
"mic",
"mic ",
"microorganism",
"microorganisms",
@@ -72,6 +73,7 @@ globalVariables(c(".rowid",
"reference.rule_group",
"reference.version",
"rowid",
"rsi",
"rsi_translation",
"rule_group",
"rule_name",
BIN
View File
Binary file not shown.