mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 08:30:49 +01:00
(v0.9.0.9023) EUCAST 2020 guidelines
This commit is contained in:
1 parent
5a98e6b777
commit
9b8b02960e
43 files changed
+16588
-14564
No files matched your search
+3
-1
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user