(v0.9.0.9009) antibiotics data set update

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-01-08 11:30:33 +01:00
1 parent ced1a7b7fa
commit 64f5ceef03
49 files changed
+134 -59

No files matched your search

+6
View File
@@ -72,6 +72,12 @@
#' ab_name("floxapen") # "Flucloxacillin"
#' ab_name(21319) # "Flucloxacillin" (using CID)
#' ab_name("J01CF05") # "Flucloxacillin" (using ATC)
#'
#' # spelling from different languages and dyslexia are no problem
#' ab_atc("ceftriaxon")
#' ab_atc("cephtriaxone")
#' ab_atc("cephthriaxone")
#' ab_atc("seephthriaaksone")
ab_name <- function(x, language = get_locale(), tolower = FALSE, ...) {
x <- translate_AMR(ab_validate(x = x, property = "name", ...), language = language)
if (tolower == TRUE) {