(v0.9.0.9023) EUCAST 2020 guidelines

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-02-14 19:54:13 +01:00
1 parent 5a98e6b777
commit 9b8b02960e
43 files changed
+16588 -14564

No files matched your search

+3 -1
View File
@@ -76,12 +76,14 @@ atc_online_property <- function(atc_code,
property,
administration = "O",
url = "https://www.whocc.no/atc_ddd_index/?code=%s&showdescription=no") {
check_dataset_integrity()
if (!all(c("curl", "rvest", "xml2") %in% rownames(utils::installed.packages()))) {
stop("Packages 'xml2', 'rvest' and 'curl' are required for this function")
}
if (!all(atc_code %in% AMR::antibiotics)) {
if (!all(atc_code %in% antibiotics)) {
atc_code <- as.character(ab_atc(atc_code))
}