<metaproperty="og:description"content="Use these functions to return a specific property of an antibiotic from the antibiotics data set. All input values will be evaluated internally with as.ab()."/>
<p>Use these functions to return a specific property of an antibiotic from the <ahref='antibiotics.html'>antibiotics</a> data set. All input values will be evaluated internally with <code><ahref='as.ab.html'>as.ab()</a></code>.</p>
<spanclass='fu'>ab_group</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>ab_atc_group1</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>ab_atc_group2</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>ab_info</span><spanclass='op'>(</span><spanclass='va'>x</span>, language <spanclass='op'>=</span><spanclass='fu'><ahref='translate.html'>get_locale</a></span><spanclass='op'>(</span><spanclass='op'>)</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<spanclass='fu'>ab_url</span><spanclass='op'>(</span><spanclass='va'>x</span>, open <spanclass='op'>=</span><spanclass='cn'>FALSE</span>, <spanclass='va'>...</span><spanclass='op'>)</span>
<td><p>language of the returned text, defaults to system language (see <code><ahref='translate.html'>get_locale()</a></code>) and can also be set with <code><ahref='https://rdrr.io/r/base/options.html'>getOption("AMR_locale")</a></code>. Use <code>language = NULL</code> or <code>language = ""</code> to prevent translation.</p></td>
<td><p>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".</p></td>
<li><p>An <ahref='https://rdrr.io/r/base/integer.html'>integer</a> in case of <code>ab_cid()</code></p></li>
<li><p>A named <ahref='https://rdrr.io/r/base/list.html'>list</a> in case of <code>ab_info()</code> and multiple <code>ab_synonyms()</code>/<code>ab_tradenames()</code></p></li>
<li><p>A <ahref='https://rdrr.io/r/base/double.html'>double</a> in case of <code>ab_ddd()</code></p></li>
<li><p>A <ahref='https://rdrr.io/r/base/character.html'>character</a> in all other cases</p></li>
<p>The function <code>ab_url()</code> will return the direct URL to the official WHO website. A warning will be returned if the required ATC code is not available.</p>
The <ahref='lifecycle.html'>lifecycle</a> of this function is <strong>stable</strong>. In a stable function, major changes are unlikely. This means that the unlying code will generally evolve by adding new arguments; removing arguments or changing the meaning of existing arguments will be avoided.</p>
<p>If the unlying code needs breaking changes, they will occur gradually. For example, a parameter will be deprecated and first continue to work, but will emit an message informing you of the change. Next, typically after at least one newly released version on CRAN, the message will be transformed to an error.</p>
<p>World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology: <ahref='https://www.whocc.no/atc_ddd_index/'>https://www.whocc.no/atc_ddd_index/</a></p>
<p>European Commission Public Health PHARMACEUTICALS - COMMUNITY REGISTER: <ahref='http://ec.europa.eu/health/documents/community-register/html/atc.htm'>http://ec.europa.eu/health/documents/community-register/html/atc.htm</a></p>
<h2class="hasAnchor"id="reference-data-publicly-available"><aclass="anchor"href="#reference-data-publicly-available"></a>Reference data publicly available</h2>
<p>All reference data sets (about microorganisms, antibiotics, R/SI interpretation, EUCAST rules, etc.) in this <code>AMR</code> package are publicly and freely available. We continually export our data sets to formats for use in R, SPSS, SAS, Stata and Excel. We also supply flat files that are machine-readable and suitable for input in any software program, such as laboratory information systems. Please find <ahref='https://msberends.github.io/AMR/articles/datasets.html'>all download links on our website</a>, which is automatically updated with every code change.</p>
<p>On our website <ahref='https://msberends.github.io/AMR/'>https://msberends.github.io/AMR/</a> you can find <ahref='https://msberends.github.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.github.io/AMR/reference/'>complete documentation of all functions</a> and <ahref='https://msberends.github.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>. As we would like to better understand the backgrounds and needs of our users, please <ahref='https://msberends.github.io/AMR/survey.html'>participate in our survey</a>!</p>
<spanclass='fu'>ab_atc</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># J01CA04 (ATC code from the WHO)</span>
<spanclass='fu'>ab_cid</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># 33613 (Compound ID from PubChem)</span>
<spanclass='fu'>ab_synonyms</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># a list with brand names of amoxicillin</span>
<spanclass='fu'>ab_atc_group2</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># "Penicillins with extended spectrum"</span>
<spanclass='fu'>ab_url</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># link to the official WHO page</span>
<spanclass='fu'>ab_ddd</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span>, <spanclass='st'>"oral"</span>, units <spanclass='op'>=</span><spanclass='cn'>TRUE</span><spanclass='op'>)</span><spanclass='co'># "g"</span>
<spanclass='fu'>ab_ddd</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span>, <spanclass='st'>"iv"</span>, units <spanclass='op'>=</span><spanclass='cn'>TRUE</span><spanclass='op'>)</span><spanclass='co'># "g"</span>
<spanclass='fu'>ab_info</span><spanclass='op'>(</span><spanclass='st'>"AMX"</span><spanclass='op'>)</span><spanclass='co'># all properties as a list</span>
<spanclass='fu'>ab_atc</span><spanclass='op'>(</span><spanclass='st'>"AMP"</span><spanclass='op'>)</span><spanclass='co'># ATC code of AMP (ampicillin)</span>
<spanclass='fu'>ab_group</span><spanclass='op'>(</span><spanclass='st'>"J01CA01"</span><spanclass='op'>)</span><spanclass='co'># Drug group of ampicillins ATC code</span>
<spanclass='fu'>ab_loinc</span><spanclass='op'>(</span><spanclass='st'>"ampicillin"</span><spanclass='op'>)</span><spanclass='co'># LOINC codes of ampicillin</span>
<p>Developed by <ahref='https://www.rug.nl/staff/m.s.berends/'>Matthijs S. Berends</a>, <ahref='https://www.rug.nl/staff/c.f.luz/'>Christian F. Luz</a>, <ahref='https://www.rug.nl/staff/a.w.friedrich/'>Alexander W. Friedrich</a>, <ahref='https://www.rug.nl/staff/b.sinha/'>Bhanu N. M. Sinha</a>, <ahref='https://www.rug.nl/staff/c.j.albers/'>Casper J. Albers</a>, <ahref='https://www.rug.nl/staff/c.glasner/'>Corinna Glasner</a>.</p>
<p>Made with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.6.1, using <ahref="https://preferably.amirmasoudabdol.name/?source=footer">preferably</a> template.</p>