mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:00:48 +01:00
Adds add_custom_antimicrobial_synonyms() to add local names, such as trade names, to existing antimicrobials, also via the AMR_custom_ab option. Matching is language-independent; as.ab() now returns NA with a warning for input that is not valid UTF-8.
This commit is contained in:
1 parent
9e05fe184b
commit
3eeabf542a
9 files changed
+623
-17
No files matched your search
@@ -92,6 +92,7 @@ coercion_cache_add <- function(type, keys, inputs, values) {
|
||||
|
||||
reset_ab_cache <- function() {
|
||||
AMR_env$AB_index <- NULL
|
||||
AMR_env$custom_ab_id_keys <- NULL
|
||||
AMR_env$ab_previously_coerced <- new_coercion_cache()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user