Deploying to gh-pages from @ agdamsbo/REDCapCAST@821e4583dd 🚀

This commit is contained in:
agdamsbo 2025-03-05 20:12:05 +00:00
commit af4756b0f5
80 changed files with 81 additions and 81 deletions

View file

@ -35,11 +35,11 @@
<main id="main" class="col-md-9"><div class="page-header">
<h1>Changelog</h1>
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v25.3.1/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
</div>
<div class="section level2">
<h2 class="pkg-version" data-toc-text="25.3.1" id="redcapcast-2531">REDCapCAST 25.3.1<a class="anchor" aria-label="anchor" href="#redcapcast-2531"></a></h2>
<h2 class="pkg-version" data-toc-text="25.3.1" id="redcapcast-2531">REDCapCAST 25.3.1<a class="anchor" aria-label="anchor" href="#redcapcast-2531"></a></h2><p class="text-muted">CRAN release: 2025-03-05</p>
<ul><li><p>FIX: <code><a href="../reference/as_factor.html">as_factor()</a></code> now interprets empty variables with empty levels attribute as logicals to avoid returning factors with empty levels.</p></li>
<li><p>NEW: <code><a href="../reference/as_logical.html">as_logical()</a></code>: interprets vectors with two levels as logical if values matches supplied list of logical pairs like “TRUE”/“FALSE”, “Yes”/“No” or 1/2. Eases interpretation of data from databases with minimal metadata. Works on vectors and for data.frames. Interprets vectors with single value also matching to any of supplied levels (Chooses first match pair if several matches).</p></li>
<li><p>NEW: <code><a href="../reference/easy_redcap.html">easy_redcap()</a></code>: new parameter <code>data_format</code> to specify data format as c(“wide”, “list”, “redcap”, “long”). For now “redcap” and “long” is treated equally. This was added to ease MMRM analyses. In that case, missing baseline values can be carried forward as “last observation carried forward” using the <code><a href="https://tidyr.tidyverse.org/reference/fill.html" class="external-link">tidyr::fill()</a></code> function specifying variables to fill. Interesting discussion on filling data <a href="https://stackoverflow.com/a/13810615" class="external-link">here on Stackoverflow</a>. <code>redcap_read_tables()</code> now has the option “none” for the <code>split_forms</code> parameter to allow not splitting the data.</p></li>