Deploying to gh-pages from @ agdamsbo/REDCapCAST@9d0f92d154 🚀

This commit is contained in:
agdamsbo 2026-01-28 21:39:33 +00:00
commit 75d348fedb
4 changed files with 14 additions and 4 deletions

View file

@ -5,7 +5,7 @@ articles:
Database-creation: Database-creation.html
REDCapCAST: REDCapCAST.html
Shiny-app: Shiny-app.html
last_built: 2026-01-28T21:17Z
last_built: 2026-01-28T21:38Z
urls:
reference: https://agdamsbo.github.io/REDCapCAST/reference
article: https://agdamsbo.github.io/REDCapCAST/articles

View file

@ -54,7 +54,12 @@ production.</p>
<div class="section level2">
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">export_redcap_instrument</span><span class="op">(</span><span class="va">data</span>, <span class="va">file</span>, force <span class="op">=</span> <span class="cn">FALSE</span>, record.id <span class="op">=</span> <span class="st">"record_id"</span><span class="op">)</span></span></code></pre></div>
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">export_redcap_instrument</span><span class="op">(</span></span>
<span> <span class="va">data</span>,</span>
<span> file <span class="op">=</span> <span class="fu">here</span><span class="fu">::</span><span class="fu"><a href="https://here.r-lib.org/reference/here.html" class="external-link">here</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/paste.html" class="external-link">paste0</a></span><span class="op">(</span><span class="st">"instrument_"</span>, <span class="fu"><a href="https://rdrr.io/r/base/Sys.time.html" class="external-link">Sys.Date</a></span><span class="op">(</span><span class="op">)</span>, <span class="st">".zip"</span><span class="op">)</span><span class="op">)</span>,</span>
<span> force <span class="op">=</span> <span class="cn">FALSE</span>,</span>
<span> record.id <span class="op">=</span> <span class="st">"record_id"</span></span>
<span><span class="op">)</span></span></code></pre></div>
</div>
<div class="section level2">

View file

@ -8,7 +8,12 @@ production.
## Usage
``` r
export_redcap_instrument(data, file, force = FALSE, record.id = "record_id")
export_redcap_instrument(
data,
file = here::here(paste0("instrument_", Sys.Date(), ".zip")),
force = FALSE,
record.id = "record_id"
)
```
## Arguments

File diff suppressed because one or more lines are too long