Deploying to gh-pages from @ agdamsbo/stRoke@7823d673bc 🚀

This commit is contained in:
agdamsbo 2024-10-23 14:08:10 +00:00
parent 1bb3b9f362
commit 3cd939624f
5 changed files with 10 additions and 10 deletions

View File

@ -63,7 +63,7 @@
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Toolbox</h1> <img src="../logo.png" class="logo" alt=""><h1>Toolbox</h1>
<h4 data-toc-skip class="date">2024-10-10</h4> <h4 data-toc-skip class="date">2024-10-23</h4>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/vignettes/toolbox.Rmd" class="external-link"><code>vignettes/toolbox.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/vignettes/toolbox.Rmd" class="external-link"><code>vignettes/toolbox.Rmd</code></a></small>
<div class="d-none name"><code>toolbox.Rmd</code></div> <div class="d-none name"><code>toolbox.Rmd</code></div>

View File

@ -3,7 +3,7 @@ pkgdown: 2.1.1
pkgdown_sha: ~ pkgdown_sha: ~
articles: articles:
toolbox: toolbox.html toolbox: toolbox.html
last_built: 2024-10-10T12:22Z last_built: 2024-10-23T14:07Z
urls: urls:
reference: https://agdamsbo.github.io/stRoke/reference reference: https://agdamsbo.github.io/stRoke/reference
article: https://agdamsbo.github.io/stRoke/articles article: https://agdamsbo.github.io/stRoke/articles

View File

@ -100,14 +100,14 @@ event description. Can take any column from data set.</p></dd>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 2 × 4</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 2 × 4</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> SUMMARY DTSTART DTEND UID </span> <span class="r-out co"><span class="r-pr">#&gt;</span> SUMMARY DTSTART DTEND UID </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;glue&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&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: #949494; font-style: italic;">&lt;glue&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&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> ID 1 [A] 2024-10-10 <span style="color: #949494;">12:22:05</span> 2024-10-10 <span style="color: #949494;">14:22:05</span> ical-09ef2f83-9eba-4d1f-a8af…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> ID 1 [A] 2024-10-23 <span style="color: #949494;">14:07:53</span> 2024-10-23 <span style="color: #949494;">16:07:53</span> ical-09ef2f83-9eba-4d1f-a8af…</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> ID 3 [A] 2024-10-12 <span style="color: #949494;">12:22:05</span> 2024-10-12 <span style="color: #949494;">14:22:05</span> ical-55943cb0-3cfd-43a0-9ffc…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> ID 3 [A] 2024-10-25 <span style="color: #949494;">14:07:53</span> 2024-10-25 <span style="color: #949494;">16:07:53</span> ical-55943cb0-3cfd-43a0-9ffc…</span>
<span class="r-in"><span><span class="va">df</span> <span class="op">|&gt;</span> <span class="fu">ds2ical</span><span class="op">(</span>summary.glue.string <span class="op">=</span> <span class="st">"ID {id} [{assessor}] {note}"</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="va">df</span> <span class="op">|&gt;</span> <span class="fu">ds2ical</span><span class="op">(</span>summary.glue.string <span class="op">=</span> <span class="st">"ID {id} [{assessor}] {note}"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 2 × 4</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 2 × 4</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> SUMMARY DTSTART DTEND UID </span> <span class="r-out co"><span class="r-pr">#&gt;</span> SUMMARY DTSTART DTEND UID </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;glue&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&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: #949494; font-style: italic;">&lt;glue&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dttm&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> ID 1 [A] 2024-10-10 <span style="color: #949494;">12:22:05</span> 2024-10-10 <span style="color: #949494;">14:22:05</span> ical-f0535f7e-0c5a-4ea6-…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> ID 1 [A] 2024-10-23 <span style="color: #949494;">14:07:53</span> 2024-10-23 <span style="color: #949494;">16:07:53</span> ical-f0535f7e-0c5a-4ea6-…</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> ID 3 [A] OBS 2024-10-12 <span style="color: #949494;">12:22:05</span> 2024-10-12 <span style="color: #949494;">14:22:05</span> ical-2c246f66-2ec6-4b0d-…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> ID 3 [A] OBS 2024-10-25 <span style="color: #949494;">14:07:53</span> 2024-10-25 <span style="color: #949494;">16:07:53</span> ical-2c246f66-2ec6-4b0d-…</span>
<span class="r-in"><span><span class="co"># Export .ics file: (not run)</span></span></span> <span class="r-in"><span><span class="co"># Export .ics file: (not run)</span></span></span>
<span class="r-in"><span><span class="va">ical</span> <span class="op">&lt;-</span> <span class="va">df</span> <span class="op">|&gt;</span> <span class="fu">ds2ical</span><span class="op">(</span><span class="va">start</span>, <span class="va">end</span>, <span class="va">location</span>,</span></span> <span class="r-in"><span><span class="va">ical</span> <span class="op">&lt;-</span> <span class="va">df</span> <span class="op">|&gt;</span> <span class="fu">ds2ical</span><span class="op">(</span><span class="va">start</span>, <span class="va">end</span>, <span class="va">location</span>,</span></span>
<span class="r-in"><span>description.glue.string <span class="op">=</span> <span class="st">"{note}"</span><span class="op">)</span></span></span> <span class="r-in"><span>description.glue.string <span class="op">=</span> <span class="st">"{note}"</span><span class="op">)</span></span></span>

View File

@ -78,15 +78,15 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-in"><span><span class="fu">label_select</span><span class="op">(</span><span class="va">labels_all</span>,<span class="va">vars</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu">label_select</span><span class="op">(</span><span class="va">labels_all</span>,<span class="va">vars</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[1]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[1]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> hypertension ~ "Known hypertension"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> hypertension ~ "Known hypertension"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x556b80a05058&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x5575952f74d8&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[2]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[2]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> diabetes ~ "Known diabetes"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> diabetes ~ "Known diabetes"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x556b80a05058&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x5575952f74d8&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[3]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[3]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> mrs_1 ~ "One month mRS"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> mrs_1 ~ "One month mRS"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x556b80a05058&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x5575952f74d8&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-in"><span></span></span> <span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co">## With gtsummary::tbl_summary()</span></span></span> <span class="r-in"><span><span class="co">## With gtsummary::tbl_summary()</span></span></span>

File diff suppressed because one or more lines are too long