mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 16:42:10 +02:00
(v1.2.0.9022) as.ab() improvement
This commit is contained in:
@ -26,6 +26,14 @@ Use this function to determine the antibiotic code of one or more antibiotics. T
|
||||
\details{
|
||||
All entries in the \link{antibiotics} data set have three different identifiers: a human readable EARS-Net code (column \code{ab}, used by ECDC and WHONET), an ATC code (column \code{atc}, used by WHO), and a CID code (column \code{cid}, Compound ID, used by PubChem). The data set contains more than 5,000 official brand names from many different countries, as found in PubChem.
|
||||
|
||||
All these properties will be searched for the user input. The \code{\link[=as.ab]{as.ab()}} can correct for different forms of misspelling:
|
||||
\itemize{
|
||||
\item Wrong spelling of drug names (like "tobramicin" or "gentamycin"), which corrects for most audible similarities such as f/ph, x/ks, c/z/s, t/th, etc.
|
||||
\item Too few or too many vowels or consonants
|
||||
\item Switching two characters (like "mreopenem", often the case in clinical data, when doctors typed too fast)
|
||||
\item Digitalised paper records, leaving artefacts like 0/o/O (zero and O's), B/8, n/r, etc.
|
||||
}
|
||||
|
||||
Use the \code{\link[=ab_property]{ab_property()}} functions to get properties based on the returned antibiotic ID, see Examples.
|
||||
}
|
||||
\section{Source}{
|
||||
|
Reference in New Issue
Block a user