1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-13 03:12:11 +02:00

Built site for AMR: 1.8.1.9045@e7af5fc

This commit is contained in:
github-actions
2022-08-28 20:45:38 +00:00
parent 44b99f8875
commit a62a35d91d
107 changed files with 3425 additions and 2733 deletions

View File

@ -10,7 +10,7 @@
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.1.9030</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">1.8.1.9045</small>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
@ -138,29 +138,34 @@
<div class="section level2">
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
<p>A <a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a> with 3,000 observations and 8 variables:</p><ul><li><p><code>patient_id</code><br> ID of the patient</p></li>
<p>A [tibble<a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble::tibble</a> with 3,000 observations and 8 variables:</p><ul><li><p><code>patient_id</code><br> ID of the patient</p></li>
<li><p><code>date</code><br> date of receipt at the laboratory</p></li>
<li><p><code>hospital</code><br> ID of the hospital, from A to C</p></li>
<li><p><code>bacteria</code><br> info about microorganism that can be transformed with <code><a href="as.mo.html">as.mo()</a></code>, see also <a href="microorganisms.html">microorganisms</a></p></li>
<li><p><code>AMX:GEN</code><br> 4 different antibiotics that have to be transformed with <code><a href="as.rsi.html">as.rsi()</a></code></p></li>
</ul></div>
<div class="section level2">
<h2 id="reference-data-publicly-available">Reference Data Publicly Available<a class="anchor" aria-label="anchor" href="#reference-data-publicly-available"></a></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 <a href="https://msberends.github.io/AMR/articles/datasets.html">all download links on our website</a>, which is automatically updated with every code change.</p>
<h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2>
<p>Like all data sets in this package, this data set is publicly available for download in the following formats: R, MS Excel, Apache Feather, Apache Parquet, SPSS, SAS, and Stata. Please visit <a href="https://msberends.github.io/AMR/articles/datasets.html">our website for the download links</a>. The actual files are of course available on <a href="https://github.com/msberends/AMR/tree/main/data-raw" class="external-link">our GitHub repository</a>.</p>
</div>
<div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">example_isolates_unclean</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> patient_id hospital date bacteria AMX AMC CIP GEN</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 J3 A 2012-11-21 E. coli R I S S</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 2 R7 A 2018-04-03 K. pneumoniae R I S S</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 3 P3 A 2014-09-19 E. coli R S S S</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 4 P10 A 2015-12-10 E. coli S I S S</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 5 B7 A 2015-03-02 E. coli S S S S</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 6 W3 A 2018-03-31 S. aureus R S R S</span>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">example_isolates_unclean</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 3,000 × 8</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> patient_id hospital date bacteria AMX AMC CIP GEN </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;date&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 1</span> J3 A 2012-11-21 E. coli R I S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> R7 A 2018-04-03 K. pneumoniae R I S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> P3 A 2014-09-19 E. coli R S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> P10 A 2015-12-10 E. coli S I S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> B7 A 2015-03-02 E. coli S S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> W3 A 2018-03-31 S. aureus R S R S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> J8 A 2016-06-14 E. coli R S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> M3 A 2015-10-25 E. coli R S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> J3 A 2019-06-19 E. coli S S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> G6 A 2015-04-27 S. aureus S S S S </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># … with 2,990 more rows</span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>