Download data sets for download / own use
-16 January 2026
+08 February 2026
Source:vignettes/datasets.Rmd
datasets.Rmd| Збудник | -Ciprofloxacin | Гентаміцин | Тобраміцин | +Ципрофлоксацин | |
|---|---|---|---|---|---|
| Gram-negative | -91% (88-93%,N=684) | +Грамнегативні | 96% (95-98%,N=684) | 96% (94-97%,N=686) | +91% (88-93%,N=684) |
| Gram-positive | -77% (74-80%,N=724) | +Грампозитивні | 63% (60-66%,N=1170) | 34% (31-38%,N=665) | +77% (74-80%,N=724) |
AMR 3.0.1.9018
+AMR 3.0.1.9019
New
+New
- Integration with the tidymodels framework to allow seamless use of SIR, MIC and disk data in modelling pipelines via
recipes-
step_mic_log2()to transform<mic>columns with log2, andstep_sir_numeric()to convert<sir>columns to numeric
@@ -70,19 +70,34 @@
- Data set
esbl_isolatesto practise with AMR modelling - AMR selectors
phosphonics()andspiropyrimidinetriones()
+ - Support for Wildtype (WT) / Non-wildtype (NWT) in
as.sir(), all plotting functions, and all susceptibility/resistance functions. +-
+
as.sir()gained an argumentas_wt_nwt, which defaults toTRUEonly whenbreakpoint_type = "ECOFF"(#254)
+ - This transforms the output from S/R to WT/NWT +
- Functions such as
susceptibility()count WT as S and NWT as R
+
-
+
-
-
antimicrobials$groupis now alistinstead of acharacter, to contain any group the drug is in (#246)
+ -
+
eucast_rules()has become a wrapper around that function.
+
interpretive_rules(), which allows future implementation of CLSI interpretive rules (#235) + -
Fixes
+Fixes
- Fixed a bug in
antibiogram()for when no antimicrobials are set - Fixed a bug in
as.sir()where for numeric input the argumentsS,i, andRwould not be considered (#244) - Fixed some foreign translations of antimicrobial drugs
- Fixed a bug for printing column names to the console when using
mutate_at(vars(...), as.mic)(#249)
+ - Fixed a bug to disregard
NIfor susceptibility proportion functions
+ - Fixed Italian translation of CoNS to Stafilococco coagulasi-negativo and CoPS to Stafilococco coagulasi-positivo (#256)
Updates
+Updates
-
+
as.mic()andrescale_mic()gained the argumentround_to_next_log2, which can be set toTRUEto round all values up to the nearest next log2 level (#255)
+ -
+
antimicrobials$groupis now alistinstead of acharacter, to contain any group the drug is in (#246)
+ -
ab_group()gained an argumentall_groupsto return all groups the antimicrobial drug is in (#246) - Added taniborbactam (
TAN) and cefepime/taniborbactam (FTA) to theantimicrobialsdata set - Added explaining message to
as.sir()when interpreting numeric values (e.g., 1 for S, 2 for I, 3 for R) (#244)
@@ -111,7 +126,7 @@
- Fixed a bug in
antibiogram()for when no antimicrobials are set - Fixed a bug in
antibiogram()to allow column names containing the+character (#222) - Fixed a bug in
as.ab()for antimicrobial codes with a number in it if they are preceded by a space
- - Fixed a bug in
eucast_rules()for using specific custom rules
+ - Fixed a bug in
eucast_rules()for using specific custom rules - Fixed a bug in
as.sir()to allow any tidyselect language (#220) - Fixed a bug in
as.sir()to pick right breakpoint whenuti = FALSE(#216) - Fixed a bug in
ggplot_sir()when usingcombine_SI = FALSE(#213)
@@ -171,11 +186,11 @@
-
Updated clinical breakpoints
- Breakpoint of 2024 and 2025 of both CLSI and EUCAST are now supported, by adding all of their over 10,000 new clinical breakpoints to the
clinical_breakpointsdata set for usage inas.sir(). EUCAST 2025 is now the new default guideline for all MIC and disk diffusion interpretations.
- - Added all Expected Resistant Phenotypes from EUCAST (v1.2). The default
rulesforeucast_rules()are now:c("breakpoints", "expected_phenotypes").
+ - Added all Expected Resistant Phenotypes from EUCAST (v1.2). The default
rulesforeucast_rules()are now:c("breakpoints", "expected_phenotypes"). - Updated the
intrinsic_resistantdata set, which is now based on EUCAST Expected Resistant Phenotypes v1.2 -
as.sir()now brings additional factor levels: “NI” for non-interpretable and “SDD” for susceptible dose-dependent. Currently, theclinical_breakpointsdata set contains 24 breakpoints that can return the value “SDD” instead of “I”.
- - EUCAST interpretive rules (using
eucast_rules()) are now available for EUCAST 12 (2022), 13 (2023), 14 (2024), and 15 (2025).
+ - EUCAST interpretive rules (using
eucast_rules()) are now available for EUCAST 12 (2022), 13 (2023), 14 (2024), and 15 (2025). - EUCAST dosage tables (
dosagedata set) are now available for EUCAST 13 (2023), 14 (2024), and 15 (2025).
- Breakpoint of 2024 and 2025 of both CLSI and EUCAST are now supported, by adding all of their over 10,000 new clinical breakpoints to the
- @@ -252,7 +267,7 @@
eucast_rules() now has an argument overwrite (default: FALSE) to indicate whether non-NA values should be overwritteneucast_rules() now has an argument overwrite (default: FALSE) to indicate whether non-NA values should be overwritten
as.disk()) is now between 0 and 50 mmitalicise_taxonomy() to support HTML outputmo_transform in antibiogram()
antibiogram() returns an empty data setonly_sir_columns now defaults to TRUE if any column of a data set contains a class ‘sir’ (functions eucast_rules(), key_antimicrobials(), mdro(), etc.)only_sir_columns now defaults to TRUE if any column of a data set contains a class ‘sir’ (functions eucast_rules(), key_antimicrobials(), mdro(), etc.)as.ab() (amphotericin B-high, gentamicin-high, kanamycin-high, streptomycin-high, tobramycin-high)as.ab() for better performance and accuracy, including the new function as_reset_session() to remove earlier coercions.AMR_cleaning_regex
A regular expression (case-insensitive) to use in as.mo() and all mo_* functions, to clean the user input. The default is the outcome of mo_cleaning_regex(), which removes texts between brackets and texts such as "species" and "serovar".
AMR_custom_ab
A file location to an RDS file, to use custom antimicrobial drugs with this package. This is explained in add_custom_antimicrobials().
AMR_custom_mo
A file location to an RDS file, to use custom microorganisms with this package. This is explained in add_custom_microorganisms().
AMR_eucastrules
A character to set the default types of rules for eucast_rules() function, must be one or more of: "breakpoints", "expert", "other", "custom", "all", and defaults to c("breakpoints", "expert").
AMR_eucastrules
A character to set the default types of rules for eucast_rules() function, must be one or more of: "breakpoints", "expert", "other", "custom", "all", and defaults to c("breakpoints", "expert").
AMR_guideline
A character to set the default guideline for interpreting MIC values and disk diffusion diameters with as.sir(). Can be only the guideline name (e.g., "CLSI") or the name with a year (e.g. "CLSI 2019"). The default to the latest implemented EUCAST guideline, currently "EUCAST 2025". Supported guideline are currently EUCAST (2011-2025) and CLSI (2011-2025).
AMR_ignore_pattern
A regular expression to ignore (i.e., make NA) any match given in as.mo() and all mo_* functions.
AMR_include_PKPD
A logical to use in as.sir(), to indicate that PK/PD clinical breakpoints must be applied as a last resort - the default is TRUE.
