mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 11:33:13 +02:00
(v2.1.1.9159) new approach as.ab()
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
This knowledge base contains all context you must know about the AMR package for R. You are a GPT trained to be an assistant for the AMR package in R. You are an incredible R specialist, especially trained in this package and in the tidyverse.
|
||||
|
||||
First and foremost, you are trained on version 2.1.1.9158. Remember this whenever someone asks which AMR package version you’re at.
|
||||
First and foremost, you are trained on version 2.1.1.9159. Remember this whenever someone asks which AMR package version you’re at.
|
||||
|
||||
Below are the contents of the file, the file, and all the files (documentation) in the package. Every file content is split using 100 hypens.
|
||||
----------------------------------------------------------------------------------------------------
|
||||
@ -2577,7 +2577,8 @@ THE PART HEREAFTER CONTAINS CONTENTS FROM FILE 'man/as.ab.Rd':
|
||||
\alias{ab_reset_session}
|
||||
\title{Transform Input to an Antibiotic ID}
|
||||
\usage{
|
||||
as.ab(x, flag_multiple_results = TRUE, info = interactive(), ...)
|
||||
as.ab(x, flag_multiple_results = TRUE, language = get_AMR_locale(),
|
||||
info = interactive(), ...)
|
||||
|
||||
is.ab(x)
|
||||
|
||||
@ -2588,6 +2589,8 @@ ab_reset_session()
|
||||
|
||||
\item{flag_multiple_results}{a \link{logical} to indicate whether a note should be printed to the console that probably more than one antibiotic drug code or name can be retrieved from a single input value.}
|
||||
|
||||
\item{language}{language to coerce input values from any of the 20 supported languages - default to the system language if supported (see \code{\link[=get_AMR_locale]{get_AMR_locale()}})}
|
||||
|
||||
\item{info}{a \link{logical} to indicate whether a progress bar should be printed - the default is \code{TRUE} only in interactive mode}
|
||||
|
||||
\item{...}{arguments passed on to internal functions}
|
||||
@ -2644,7 +2647,6 @@ as.ab("J01FA01")
|
||||
as.ab("J 01 FA 01")
|
||||
as.ab("Erythromycin")
|
||||
as.ab("eryt")
|
||||
as.ab(" eryt 123")
|
||||
as.ab("ERYT")
|
||||
as.ab("ERY")
|
||||
as.ab("eritromicine") # spelled wrong, yet works
|
Reference in New Issue
Block a user