NEWS.md
- AMR
1.6.0.9020AMR
1.6.0.9021microorganisms.codes
data setantibiotics
data setskimr::skim()
on classes mo
, mic
and disk
when using the just released dplyr
v1.0.6skimr::skim()
usage for MIC values to also include 25th and 75th percentilesdplyr
join functions if the dplyr
package is installed - now also preserving grouped variablesSupport for custom MDRO guidelines, using the new custom_mdro_guideline()
function, please see mdro()
for additional info
ggplot()
generics for classes <mic>
and <disk>
ggplot()
generics for classes <mic>
and <disk>
Function mo_is_yeast()
, which determines whether a microorganism is a member of the taxonomic class Saccharomycetes or the taxonomic order Saccharomycetales:
@@ -400,7 +403,7 @@
translate
)plot()
and with ggplot2 using ggplot()
on any vector of MIC and disk diffusion valuesplot()
and with ggplot2 using ggplot()
on any vector of MIC and disk diffusion valuesmicroorganisms
data setis.rsi.eligible()
now detects if the column name resembles an antibiotic name or code and now returns TRUE
immediately if the input contains any of the values “R”, “S” or “I”. This drastically improves speed, also for a lot of other functions that rely on automatic determination of antibiotic columns.
get_episode()
and is_new_episode()
now support less than a day as value for argument episode_days
(e.g., to include one patient/test per hour)ampc_cephalosporin_resistance
in eucast_rules()
now also applies to value “I” (not only “S”)print()
and summary()
on a Principal Components Analysis object (pca()
) now print additional group info if the original data was grouped using dplyr::group_by()
+print()
and summary()
on a Principal Components Analysis object (pca()
) now print additional group info if the original data was grouped using dplyr::group_by()
guess_ab_col()
. As this also internally improves the reliability of first_isolate()
and mdro()
, this might have a slight impact on the results of those functions.mo_name()
when used in other languages than Englishcharacter to pass on to paste(, collapse = ...)
to only return one character per element of text
, see Examples
a character to pass on to paste(, collapse = ...)
to only return one character per element of text
, see Examples
logical to indicate whether the input must be extensively searched for misspelling and other faulty input values. Setting this to TRUE
will take considerably more time than when using FALSE
. At default, it will turn TRUE
when all input elements contain a maximum of three words.
a logical to indicate whether the input must be extensively searched for misspelling and other faulty input values. Setting this to TRUE
will take considerably more time than when using FALSE
. At default, it will turn TRUE
when all input elements contain a maximum of three words.
logical to indicate whether a progress bar should be printed, defaults to TRUE
only in interactive mode
a logical to indicate whether a progress bar should be printed, defaults to TRUE
only in interactive mode
At default, the function will search for antimicrobial drug names. All text elements will be searched for official names, ATC codes and brand names. As it uses as.ab()
internally, it will correct for misspelling.
With type = "dose"
(or similar, like "dosing", "doses"), all text elements will be searched for numeric values that are higher than 100 and do not resemble years. The output will be numeric. It supports any unit (g, mg, IE, etc.) and multiple values in one clinical text, see Examples.
With type = "dose"
(or similar, like "dosing", "doses"), all text elements will be searched for numeric values that are higher than 100 and do not resemble years. The output will be numeric. It supports any unit (g, mg, IE, etc.) and multiple values in one clinical text, see Examples.
With type = "administration"
(or abbreviations, like "admin", "adm"), all text elements will be searched for a form of drug administration. It supports the following forms (including common abbreviations): buccal, implant, inhalation, instillation, intravenous, nasal, oral, parenteral, rectal, sublingual, transdermal and vaginal. Abbreviations for oral (such as 'po', 'per os') will become "oral", all values for intravenous (such as 'iv', 'intraven') will become "iv". It supports multiple values in one clinical text, see Examples.
collapse
logical to indicate whether the first character of every output should be transformed to a lower case character. This will lead to e.g. "polymyxin B" and not "polymyxin b".
a logical to indicate whether the first character of every output should be transformed to a lower case character. This will lead to e.g. "polymyxin B" and not "polymyxin b".
a logical to indicate whether the units instead of the DDDs itself must be returned, see Examples
a logical to indicate whether the units instead of the DDDs itself must be returned, see Examples
a logical to indicate whether age calculation should be exact, i.e. with decimals. It divides the number of days of year-to-date (YTD) of x
by the number of days in the year of reference
(either 365 or 366).
a logical to indicate whether age calculation should be exact, i.e. with decimals. It divides the number of days of year-to-date (YTD) of x
by the number of days in the year of reference
(either 365 or 366).
a logical to indicate whether missing values should be removed
a logical to indicate whether missing values should be removed
a logical to indicate whether only columns of class <rsi>
must be selected (defaults to FALSE
), see as.rsi()
a logical to indicate whether only columns of class <rsi>
must be selected (defaults to FALSE
), see as.rsi()
character vector to determine to antibiotic ID
a character vector to determine to antibiotic ID
logical to indicate whether a note should be printed to the console that probably more than one antibiotic code or name can be retrieved from a single input value.
a logical to indicate whether a note should be printed to the console that probably more than one antibiotic code or name can be retrieved from a single input value.
a logical indicating whether missing values should be removed
a logical indicating whether missing values should be removed