Deploying to gh-pages from @ agdamsbo/REDCapCAST@10064d7ee0 🚀

This commit is contained in:
agdamsbo 2025-03-05 12:52:30 +00:00
commit 3560381c91
11 changed files with 59 additions and 34 deletions

View file

@ -42,6 +42,8 @@
<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>
<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>
<li><p>FIX: <code><a href="../reference/ds2dd_detailed.html">ds2dd_detailed()</a></code>: The <code>convert_logicals</code> parameter has been turned off by default and logicals are now interpreted as field type “truefalse”. Converting logicals to factors would result in the numeric values being 1 for FALSE and 2 for TRUE, which is opposite of the traditional notation and could lead to serous problems if not handled correctly. This should solve it.</p></li>
</ul></div>
<div class="section level2">
<h2 class="pkg-version" data-toc-text="25.1.1" id="redcapcast-2511">REDCapCAST 25.1.1<a class="anchor" aria-label="anchor" href="#redcapcast-2511"></a></h2><p class="text-muted">CRAN release: 2025-01-29</p>