<li>Chromista are not relevant when it comes to antimicrobial resistance, thus lacking the primary scope of this package</li>
<li>Chromista are almost never clinically relevant, thus lacking the secondary scope of this package</li>
</ul></li>
<li>The <code>microorganisms</code> no longer relies on the Catalogue of Life, but now primarily on the List of Prokaryotic names with Standing in Nomenclature (LPSN) and is supplemented with the Global Biodiversity Information Facility (GBIF). The structure of this data set has changed to include separate LPSN and GBIF identifiers. Almost all previous MO codes were retained. It contains over 1,000 taxonomic names from 2022 already.</li>
<strong>The <code>microorganisms.old</code> data set was removed</strong>, and all previously accepted names are now included in the <code>microorganisms</code> data set. A new column <code>status</code> contains <code>"accepted"</code> for currently accepted names and <code>"synonym"</code> for taxonomic synonyms; currently invalid names. All previously accepted names now have a microorganisms ID and - if available - an LPSN, GBIF and SNOMED CT identifier.</li>
<li>The MO matching score algorithm (<code><ahref="../reference/mo_matching_score.html">mo_matching_score()</a></code>) now counts deletions and substitutions as 2 instead of 1, which impacts the outcome of <code><ahref="../reference/as.mo.html">as.mo()</a></code> and any <code>mo_*()</code> function</li>
<strong>Argument <code>combine_IR</code> has been removed</strong> from this package (affecting functions <code><ahref="../reference/count.html">count_df()</a></code>, <code><ahref="../reference/proportion.html">proportion_df()</a></code>, and <code><ahref="../reference/proportion.html">rsi_df()</a></code> and some plotting functions), since it was replaced with <code>combine_SI</code> three years ago</li>
<li>Interpretation <strong>guidelines older than 10 years were removed</strong>, the oldest now included guidelines of EUCAST and CLSI are from 2013</li>
<li>Using <code>units</code> in <code>ab_ddd(..., units = "...")</code> had been deprecated and is now not supported anymore. Use <code><ahref="../reference/ab_property.html">ab_ddd_units()</a></code> instead.</li>
<strong>EUCAST 2022 and CLSI 2022 guidelines</strong> have been added for <code><ahref="../reference/as.rsi.html">as.rsi()</a></code>. EUCAST 2022 (v12.0) is now the new default guideline for all MIC and disks diffusion interpretations, and for <code><ahref="../reference/eucast_rules.html">eucast_rules()</a></code> to apply EUCAST Expert Rules.</li>
<li>Support for the following languages: Chinese, Greek, Japanese, Polish, Turkish and Ukrainian. We are very grateful for the valuable input by our colleagues from other countries. The <code>AMR</code> package is now available in 16 languages. The automatic language determination will give a note at start-up on systems in supported languages.</li>
<strong>All new algorithm for <code><ahref="../reference/as.mo.html">as.mo()</a></code></strong> (and thus all <code>mo_*()</code> functions) while still following our original set-up as described in our recently submitted JSS paper (DOI <ahref="https://doi.org/10.18637/jss.v104.i03"class="external-link">10.18637/jss.v104.i03</a>).
<ul><li>A new argument <code>keep_synonyms</code> allows to <em>not</em> correct for updated taxonomy, in favour of the now deleted argument <code>allow_uncertain</code>
<li>It has increased tremendously in speed and returns generally more consequent results</li>
<li>Sequential coercion is now extremely fast as results are stored to the package environment, although coercion of unknown values must be run once per session. Previous results can be reset/removed with the new <code><ahref="../reference/as.mo.html">mo_reset_session()</a></code> function.</li>
<strong>Extensive support for antiviral agents!</strong> For the first time, the <code>AMR</code> package has extensive support for antiviral drugs and to work with their names, codes and other data in any way.
<ul><li>The <code>antivirals</code> data set has been extended with 18 new drugs (also from the <ahref="https://www.whocc.no/atc_ddd_index/?code=J05AJ&showdescription=no"class="external-link">new J05AJ ATC group</a>) and now also contains antiviral identifiers and LOINC codes</li>
<li>A new data type <code>av</code> (<em>antivirals</em>) has been added, which is functionally similar to <code>ab</code> for antibiotics</li>
<li>Functions <code><ahref="../reference/as.av.html">as.av()</a></code>, <code><ahref="../reference/av_property.html">av_name()</a></code>, <code><ahref="../reference/av_property.html">av_atc()</a></code>, <code><ahref="../reference/av_property.html">av_synonyms()</a></code>, <code><ahref="../reference/av_from_text.html">av_from_text()</a></code> have all been added as siblings to their <code>ab_*()</code> equivalents</li>
<ul><li>Function <code><ahref="../reference/proportion.html">rsi_confidence_interval()</a></code> to add confidence intervals in AMR calculation. This is also included in <code><ahref="../reference/proportion.html">rsi_df()</a></code> and <code><ahref="../reference/proportion.html">proportion_df()</a></code>
<li>Function <code><ahref="../reference/mean_amr_distance.html">mean_amr_distance()</a></code> to calculate the mean AMR distance. The mean AMR distance is a normalised numeric value to compare AMR test results and can help to identify similar isolates, without comparing antibiograms by hand.</li>
<li>Function <code><ahref="../reference/as.rsi.html">rsi_interpretation_history()</a></code> to view the history of previous runs of <code><ahref="../reference/as.rsi.html">as.rsi()</a></code>. This returns a ‘logbook’ with the selected guideline, reference table and specific interpretation of each row in a data set on which <code><ahref="../reference/as.rsi.html">as.rsi()</a></code> was run.</li>
<li>Function <code><ahref="../reference/add_custom_antimicrobials.html">add_custom_antimicrobials()</a></code> to add custom antimicrobial codes and names to the <code>AMR</code> package</li>
<li>Antibiotic code “CEI” for ceftolozane/tazobactam has been replaced with “CZT” to comply with EARS-Net and WHONET 2022. The old code will still work in all cases when using <code><ahref="../reference/as.ab.html">as.ab()</a></code> or any of the <code>ab_*()</code> functions.</li>
<li>Support for antimicrobial interpretation of anaerobic bacteria, by adding a ‘placeholder’ code <code>B_ANAER</code> to the <code>microorganisms</code> data set and add the breakpoints of anaerobics to the <code>rsi_interpretation</code> data set, which is used by <code><ahref="../reference/as.rsi.html">as.rsi()</a></code> when interpreting MIC and disk diffusion values</li>
<li>Support for <code>data.frame</code>-enhancing R packages, more specifically: <code><ahref="https://Rdatatable.gitlab.io/data.table/reference/data.table.html"class="external-link">data.table::data.table</a></code>, <code><ahref="https://rdrr.io/pkg/janitor/man/tabyl.html"class="external-link">janitor::tabyl</a></code>, <code><ahref="https://tibble.tidyverse.org/reference/tibble.html"class="external-link">tibble::tibble</a></code>, and <code><ahref="https://tsibble.tidyverts.org/reference/tsibble.html"class="external-link">tsibble::tsibble</a></code>. AMR package functions that have a data set as output (such as <code><ahref="../reference/proportion.html">rsi_df()</a></code> and <code><ahref="../reference/bug_drug_combinations.html">bug_drug_combinations()</a></code>), will now return the same data type as the input.</li>
<li>All data sets in this package are <strong>now exported as <code>tibble</code></strong>, instead of base R <code>data.frame</code>s. Older R versions are still supported.</li>
<li>Our data sets are now also continually exported to <strong>Apache Feather and Apache Parquet formats</strong>. You can find more info <ahref="https://msberends.github.io/AMR/articles/datasets.html">in this article on our website</a>.</li>
<li>Support for using antibiotic selectors in scoped <code>dplyr</code> verbs (with or without <code><ahref="https://dplyr.tidyverse.org/reference/vars.html"class="external-link">vars()</a></code>), such as in: <code>... %>% summarise_at(aminoglycosides(), resistance)</code>, see <code><ahref="../reference/proportion.html">resistance()</a></code>
<li>Interpretation from MIC and disk zones is now more informative about availability of breakpoints and more robust</li>
<li>The default guideline (EUCAST) can now be changed with <code>options(AMR_guideline = "...")</code>
</li>
</ul></li>
<li>Removed the <code><ahref="https://rdrr.io/r/base/integer.html"class="external-link">as.integer()</a></code> method for MIC values, since MIC are not integer values and running <code><ahref="https://rdrr.io/r/base/table.html"class="external-link">table()</a></code> on MIC values consequently failed for not being able to retrieve the level position (as that’s how normally <code><ahref="https://rdrr.io/r/base/integer.html"class="external-link">as.integer()</a></code> on <code>factor</code>s work)</li>
<li>Fixed determination of Gram stains (<code><ahref="../reference/mo_property.html">mo_gramstain()</a></code>), since the taxonomic phyla Actinobacteria, Chloroflexi, Firmicutes, and Tenericutes have been renamed to respectively Actinomycetota, Chloroflexota, Bacillota, and Mycoplasmatota in 2021</li>
<code><ahref="https://rdrr.io/r/base/droplevels.html"class="external-link">droplevels()</a></code> on MIC will now return a common <code>factor</code> at default and will lose the <code>mic</code> class. Use <code>droplevels(..., as.mic = TRUE)</code> to keep the <code>mic</code> class.</li>
<li>Small fix for using <code><ahref="../reference/ab_from_text.html">ab_from_text()</a></code>
</li>
<li>Fixes for reading in text files using <code><ahref="../reference/mo_source.html">set_mo_source()</a></code>, which now also allows the source file to contain valid taxonomic names instead of only valid microorganism ID of this package</li>
<li>Using any <code>random_*()</code> function (such as <code><ahref="../reference/random.html">random_mic()</a></code>) is now possible by directly calling the package without loading it first: <code>AMR::random_mic(10)</code>
</li>
<li>Added <em>Toxoplasma gondii</em> (<code>P_TXPL_GOND</code>) to the <code>microorganisms</code> data set, together with its genus, family, and order</li>
<li>Changed value in column <code>prevalence</code> of the <code>microorganisms</code> data set from 3 to 2 for these genera: <em>Acholeplasma</em>, <em>Alistipes</em>, <em>Alloprevotella</em>, <em>Bergeyella</em>, <em>Borrelia</em>, <em>Brachyspira</em>, <em>Butyricimonas</em>, <em>Cetobacterium</em>, <em>Chlamydia</em>, <em>Chlamydophila</em>, <em>Deinococcus</em>, <em>Dysgonomonas</em>, <em>Elizabethkingia</em>, <em>Empedobacter</em>, <em>Haloarcula</em>, <em>Halobacterium</em>, <em>Halococcus</em>, <em>Myroides</em>, <em>Odoribacter</em>, <em>Ornithobacterium</em>, <em>Parabacteroides</em>, <em>Pedobacter</em>, <em>Phocaeicola</em>, <em>Porphyromonas</em>, <em>Riemerella</em>, <em>Sphingobacterium</em>, <em>Streptobacillus</em>, <em>Tenacibaculum</em>, <em>Terrimonas</em>, <em>Victivallis</em>, <em>Wautersiella</em>, <em>Weeksella</em>
<li>Extended support for the <code>vctrs</code> package, used internally by the tidyverse. This allows to change values of class <code>mic</code>, <code>disk</code>, <code>rsi</code>, <code>mo</code> and <code>ab</code> in tibbles, and to use antibiotic selectors for selecting/filtering, e.g.<code>df[carbapenems() == "R", ]</code>
<li>For all interpretation guidelines using <code><ahref="../reference/as.rsi.html">as.rsi()</a></code> on amoxicillin, the rules for ampicillin will be used if amoxicillin rules are not available</li>
<li>Fix for using <code><ahref="../reference/ab_property.html">ab_atc()</a></code> on non-existing ATC codes</li>
<code><ahref="../reference/mo_property.html">mo_snomed()</a></code> now returns class <code>character</code>, not <code>numeric</code> anymore (to make long SNOMED codes readable)</li>
<li>Updated support for all WHONET 2022 microorganism codes</li>
<li>Antimicrobial interpretation ‘SDD’ (susceptible dose-dependent, coined by CLSI) will be interpreted as ‘I’ to comply with EUCAST’s ‘I’ in <code><ahref="../reference/as.rsi.html">as.rsi()</a></code>
<li>Cleaning columns with <code><ahref="../reference/as.rsi.html">as.rsi()</a></code>, <code><ahref="../reference/as.mic.html">as.mic()</a></code>, or <code><ahref="../reference/as.disk.html">as.disk()</a></code> will now show the column name in the warning for invalid results</li>
<ul><li>New website to make use of the new Bootstrap 5 and pkgdown 2.0. The website now contains results for all examples and will be automatically regenerated with every change to our repository, using GitHub Actions</li>
<p>This is a small intermediate update to include the reference to our publication in the Journal of Statistical Software, DOI 10.18637/jss.v104.i03.</p>
<p>A major update will be released by the end of 2022 or early 2023 to include the most recent EUCAST and CLSI guidelines, updated microbial taxonomy, and support for 16 languages.</p>
<ul><li><p>Fix for using <code><ahref="../reference/as.rsi.html">as.rsi()</a></code> on values containing capped values (such as <code>>=</code>), sometimes leading to <code>NA</code></p></li>
<li><p>Support for antibiotic interpretations of the MIPS laboratory system: <code>"U"</code> for S (‘susceptible urine’), <code>"D"</code> for I (‘susceptible dose-dependent’)</p></li>
<li>
<p>Improved algorithm of <code><ahref="../reference/as.mo.html">as.mo()</a></code>, especially for ignoring non-taxonomic text, such as:</p>
<span><spanclass="fu"><ahref="../reference/mo_property.html">mo_name</a></span><spanclass="op">(</span><spanclass="st">"methicillin-resistant S. aureus (MRSA)"</span><spanclass="op">)</span></span>
<ul><li>Removed <code>p_symbol()</code> and all <code>filter_*()</code> functions (except for <code><ahref="../reference/first_isolate.html">filter_first_isolate()</a></code>), which were all deprecated in a previous package version</li>
<li>Removed the <code>key_antibiotics()</code> and <code>key_antibiotics_equal()</code> functions, which were deprecated and superseded by <code><ahref="../reference/key_antimicrobials.html">key_antimicrobials()</a></code> and <code><ahref="../reference/key_antimicrobials.html">antimicrobials_equal()</a></code>
</li>
<li>Removed all previously implemented <code><ahref="https://ggplot2.tidyverse.org/reference/ggplot.html"class="external-link">ggplot2::ggplot()</a></code> generics for classes <code><mic></code>, <code><disk></code>, <code><rsi></code> and <code><resistance_predict></code> as they did not follow the <code>ggplot2</code> logic. They were replaced with <code><ahref="https://ggplot2.tidyverse.org/reference/autoplot.html"class="external-link">ggplot2::autoplot()</a></code> generics.</li>
<li>Renamed function <code>get_locale()</code> to <code><ahref="../reference/translate.html">get_AMR_locale()</a></code> to prevent conflicts with other packages</li>
<ul><li><p>Support for the CLSI 2021 guideline for interpreting MIC/disk diffusion values, which are incorporated in the <code>rsi_translation</code> data set. This data set now more strictly follows the WHONET software as well.</p></li>
<li><p>Support for EUCAST Intrinsic Resistance and Unusual Phenotypes v3.3 (October 2021). This is now the default EUCAST guideline in the package (all older guidelines are still available) for <code><ahref="../reference/eucast_rules.html">eucast_rules()</a></code>, <code><ahref="../reference/mo_property.html">mo_is_intrinsic_resistant()</a></code> and <code><ahref="../reference/mdro.html">mdro()</a></code>. The <code>intrinsic_resistant</code> data set was also updated accordingly.</p></li>
<li><p>Support for all antimicrobial drug (group) names and colloquial microorganism names in Danish, Dutch, English, French, German, Italian, Portuguese, Russian, Spanish and Swedish</p></li>
<li>
<p>Function <code><ahref="../reference/ab_property.html">set_ab_names()</a></code> to rename data set columns that resemble antimicrobial drugs. This allows for quickly renaming columns to official names, ATC codes, etc. Its second argument can be a tidyverse way of selecting:</p>
<li><p>Function <code><ahref="../reference/mo_property.html">mo_lpsn()</a></code> to retrieve the <ahref="https://lpsn.dsmz.de"class="external-link">LPSN</a> record ID</p></li>
<li><p>Function <code><ahref="../reference/ab_property.html">ab_ddd_units()</a></code> to get units of DDDs (daily defined doses), deprecating the use of <code>ab_ddd(..., units = TRUE)</code> to be more consistent in data types of function output</p></li>
<ul><li>Updated the bacterial taxonomy to 5 October 2021 (according to <ahref="https://lpsn.dsmz.de"class="external-link">LPSN</a>), including all 11 new staphylococcal species named since 1 January last year</li>
<li>The <code>antibiotics</code> data set now contains <strong>all ATC codes</strong> that are available through the <ahref="https://www.whocc.no"class="external-link">WHOCC website</a>, regardless of drugs being present in more than one ATC group. This means that:
<code>antibiotics$atc</code> is now a <code>list</code> containing <code>character</code> vectors, and this <code>atc</code> column was moved to the 5th position of the <code>antibiotics</code> data set</li>
<li>
<code><ahref="../reference/ab_property.html">ab_atc()</a></code> does not always return a character vector of length 1, and returns a <code>list</code> if the input is larger than length 1</li>
<li>
<code><ahref="../reference/ab_property.html">ab_info()</a></code> has a slightly different output</li>
<li>Some DDDs (daily defined doses) were added or updated according to newly included ATC codes</li>
<li><p>Added more selectors for antibiotic classes: <code><ahref="../reference/antibiotic_class_selectors.html">aminopenicillins()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">antifungals()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">antimycobacterials()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">lincosamides()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">lipoglycopeptides()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">polymyxins()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">quinolones()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">streptogramins()</a></code>, <code><ahref="../reference/antibiotic_class_selectors.html">trimethoprims()</a></code> and <code><ahref="../reference/antibiotic_class_selectors.html">ureidopenicillins()</a></code></p></li>
<li>
<p>Added specific selectors for certain types for treatment: <code><ahref="../reference/antibiotic_class_selectors.html">administrable_per_os()</a></code> and <code><ahref="../reference/antibiotic_class_selectors.html">administrable_iv()</a></code>, which are based on available Defined Daily Doses (DDDs), as defined by the WHOCC. These are ideal for e.g.analysing pathogens in primary care where IV treatment is not an option. They can be combined with other AB selectors, e.g.to select penicillins that are only administrable per os (i.e., orally):</p>
<span><spanclass="va">example_isolates</span><spanclass="op">[</span>, <spanclass="fu"><ahref="../reference/antibiotic_class_selectors.html">penicillins</a></span><spanclass="op">(</span><spanclass="op">)</span><spanclass="op">&</span><spanclass="fu"><ahref="../reference/antibiotic_class_selectors.html">administrable_per_os</a></span><spanclass="op">(</span><spanclass="op">)</span><spanclass="op">]</span><spanclass="co"># base R</span></span>
<p>Added the selector <code><ahref="../reference/antibiotic_class_selectors.html">ab_selector()</a></code>, which accepts a filter to be used internally on the <code>antibiotics</code> data set, yielding great flexibility on drug properties, such as selecting antibiotic columns with an oral DDD of at least 1 gram:</p>
<span><spanclass="va">example_isolates</span><spanclass="op">[</span>, <spanclass="fu"><ahref="../reference/antibiotic_class_selectors.html">ab_selector</a></span><spanclass="op">(</span><spanclass="va">oral_ddd</span><spanclass="op">></span><spanclass="fl">1</span><spanclass="op">&</span><spanclass="va">oral_units</span><spanclass="op">==</span><spanclass="st">"g"</span><spanclass="op">)</span><spanclass="op">]</span><spanclass="co"># base R</span></span>
<li><p>Added the selector <code><ahref="../reference/antibiotic_class_selectors.html">not_intrinsic_resistant()</a></code>, which only keeps antibiotic columns that are not intrinsic resistant for all microorganisms in a data set, based on the latest EUCAST guideline on intrinsic resistance. For example, if a data set contains only microorganism codes or names of <em>E. coli</em> and <em>K. pneumoniae</em> and contains a column “vancomycin”, this column will be removed (or rather, unselected) using this function.</p></li>
<li><p>Added argument <code>only_treatable</code>, which defaults to <code>TRUE</code> and will exclude drugs that are only for laboratory tests and not for treating patients (such as imipenem/EDTA and gentamicin-high)</p></li>
<li><p>Fix for using selectors multiple times in one call (e.g., using them in <code><ahref="https://dplyr.tidyverse.org/reference/filter.html"class="external-link">dplyr::filter()</a></code> and immediately after in <code><ahref="https://dplyr.tidyverse.org/reference/select.html"class="external-link">dplyr::select()</a></code>)</p></li>
<li><p>Fix for using having multiple columns that are coerced to the same antibiotic agent</p></li>
<li><p>Fixed for using <code><ahref="https://rdrr.io/r/base/all.html"class="external-link">all()</a></code> or <code><ahref="https://rdrr.io/r/base/any.html"class="external-link">any()</a></code> on antibiotic selectors in an R Markdown file</p></li>
</ul></li>
<li>Added the following antimicrobial agents that are now covered by the WHO: aztreonam/nacubactam (ANC), cefepime/nacubactam (FNC), exebacase (EXE), ozenoxacin (OZN), zoliflodacin (ZFD), manogepix (MGX), ibrexafungerp (IBX), and rezafungin (RZF). None of these agents have an ATC code yet.</li>
<li>Fixed the Gram stain (<code><ahref="../reference/mo_property.html">mo_gramstain()</a></code>) determination of the taxonomic class Negativicutes within the phylum of Firmicutes - they were considered Gram-positives because of their phylum but are actually Gram-negative. This impacts 137 taxonomic species, genera and families, such as <em>Negativicoccus</em> and <em>Veillonella</em>.</li>
<li>Dramatic speed improvement for <code><ahref="../reference/first_isolate.html">first_isolate()</a></code>
</li>
<li>Fix to prevent introducing <code>NA</code>s for old MO codes when running <code><ahref="../reference/as.mo.html">as.mo()</a></code> on them</li>
<li>Added more informative error messages when any of the <code>proportion_*()</code> and <code>count_*()</code> functions fail</li>
<li>When printing a tibble with any old MO code, a warning will be thrown that old codes should be updated using <code><ahref="../reference/as.mo.html">as.mo()</a></code>
</li>
<li>Improved automatic column selector when <code>col_*</code> arguments are left blank, e.g.in <code><ahref="../reference/first_isolate.html">first_isolate()</a></code>
</li>
<li>The right input types for <code><ahref="../reference/random.html">random_mic()</a></code>, <code><ahref="../reference/random.html">random_disk()</a></code> and <code><ahref="../reference/random.html">random_rsi()</a></code> are now enforced</li>
<li>
<code><ahref="../reference/as.rsi.html">as.rsi()</a></code> has an improved algorithm and can now also correct for textual input (such as “Susceptible”, “Resistant”) in all supported languages</li>
<li>
<code><ahref="../reference/as.mic.html">as.mic()</a></code> has an improved algorithm</li>
<li>When warnings are thrown because of too few isolates in any <code>count_*()</code>, <code>proportion_*()</code> function (or <code>resistant()</code> or <code>susceptible()</code>), the <code>dplyr</code> group will be shown, if available</li>
<li>Fix for legends created with <code><ahref="../reference/ggplot_rsi.html">scale_rsi_colours()</a></code> when using <code>ggplot2</code> v3.3.4 or higher (this is ggplot2 bug 4511, soon to be fixed)</li>
<li>Fix for minor translation errors</li>
<li>Fix for the MIC interpretation of <em>Morganellaceae</em> (such as <em>Morganella</em> and <em>Proteus</em>) when using the EUCAST 2021 guideline</li>
<li>Improved algorithm of <code><ahref="../reference/as.mo.html">as.mo()</a></code>
</li>
<li>Improved algorithm for generating random MICs with <code><ahref="../reference/random.html">random_mic()</a></code>
</li>
<li>Improved plot legends for MICs and disk diffusion values</li>
<li>Improved speed of <code><ahref="../reference/as.ab.html">as.ab()</a></code> and all <code>ab_*()</code> functions</li>
<li>Added <code><ahref="https://ggplot2.tidyverse.org/reference/fortify.html"class="external-link">fortify()</a></code> extensions for plotting methods</li>
<li>
<code>NA</code> values of the classes <code><mic></code>, <code><disk></code> and <code><rsi></code> are now exported objects of this package, e.g.<code>NA_mic_</code> is an <code>NA</code> of class <code>mic</code> (just like the base R <code>NA_character_</code> is an <code>NA</code> of class <code>character</code>)</li>
<li>The <code><ahref="../reference/proportion.html">proportion_df()</a></code>, <code><ahref="../reference/count.html">count_df()</a></code> and <code><ahref="../reference/proportion.html">rsi_df()</a></code> functions now return with the additional S3 class ‘rsi_df’ so they can be extended by other packages</li>
<li>The <code><ahref="../reference/mdro.html">mdro()</a></code> function now returns <code>NA</code> for all rows that have no test results</li>
<li>The <code>species_id</code> column in the <code>microorganisms</code> data set now only contains LPSN record numbers. For this reason, this column is now numeric instead of a character, and <code><ahref="../reference/mo_property.html">mo_url()</a></code> has been updated to reflect this change.</li>
<li>Fixed a small bug in the functions <code><ahref="../reference/get_episode.html">get_episode()</a></code> and <code><ahref="../reference/get_episode.html">is_new_episode()</a></code>
</li>
<li>
<code><ahref="../reference/get_episode.html">get_episode()</a></code> and <code><ahref="../reference/get_episode.html">is_new_episode()</a></code> can now cope with <code>NA</code>s</li>
</main><asideclass="col-md-3"><navid="toc"><h2>On this page</h2>
</nav></aside></div>
<footer><divclass="pkgdown-footer-left">
<p></p><p><code>AMR</code> (for R). Developed at the <atarget="_blank"href="https://www.rug.nl"class="external-link">University of Groningen</a> in collaboration with non-profit organisations<br><atarget="_blank"href="https://www.certe.nl"class="external-link">Certe Medical Diagnostics and Advice Foundation</a> and <atarget="_blank"href="https://www.umcg.nl"class="external-link">University Medical Center Groningen</a>.</p>