<ul><li><p>New: <code><ahref="../reference/ds2dd.html">ds2dd()</a></code> function migrating from the <code>stRoke</code>-package. Assists in building a data dictionary for REDCap from a dataset.</p></li>
<li><p>New: <code><ahref="../reference/strsplitx.html">strsplitx()</a></code> function to ease the string splitting as an extension of <code><ahref="https://rdrr.io/r/base/strsplit.html"class="external-link">base::strsplit()</a></code>. Inspiration from <ahref="https://stackoverflow.com/a/11014253/21019325"class="external-link uri">https://stackoverflow.com/a/11014253/21019325</a> and <ahref="https://www.r-bloggers.com/2018/04/strsplit-but-keeping-the-delimiter/"class="external-link uri">https://www.r-bloggers.com/2018/04/strsplit-but-keeping-the-delimiter/</a>.</p></li>
<li><p>New: <code>d2n()</code> function converts single digits to written numbers. Used to sanitize variable and form names in REDCap database creation. For more universal number to word I would suggest <code>english::word()</code> or <code><ahref="https://rdrr.io/pkg/xfun/man/numbers_to_words.html"class="external-link">xfun::numbers_to_words()</a></code>, though I have not been testing these.</p></li>
<p>To reflect new functions and the limitation to only working in R, I have changed the naming of the fork, while still, of course, maintaining the status as a fork.</p>
<p>The versioning has moved to a monthly naming convention.</p>
<p>The main goal this package is to keep the option to only export a defined subset of the whole dataset from the REDCap server as is made possible through the <code><ahref="https://ouhscbbmc.github.io/REDCapR/reference/redcap_read.html"class="external-link">REDCapR::redcap_read()</a></code> function, and combine it with the work put into the REDCapRITS package and the handling of longitudinal projects and/or projects with repeated instruments.</p>
<ul><li><p><code><ahref="../reference/read_redcap_tables.html">read_redcap_tables()</a></code><strong>NEW</strong>: this function is mainly an implementation of the combined use of <code>REDCapR::readcap_read()</code> and <code><ahref="../reference/REDCap_split.html">REDCap_split()</a></code> to maintain the focused nature of <code>REDCapR::readcap_read()</code>, to only download the specified data. Also implements tests of valid form names and event names. The usual fall-back solution was to get all data.</p></li>
<li><p><code><ahref="../reference/redcap_wider.html">redcap_wider()</a></code><strong>NEW</strong>: this function pivots the long data frames from <code><ahref="../reference/read_redcap_tables.html">read_redcap_tables()</a></code> using <code><ahref="https://tidyr.tidyverse.org/reference/pivot_wider.html"class="external-link">tidyr::pivot_wider()</a></code>.</p></li>
<li><p><code><ahref="../reference/focused_metadata.html">focused_metadata()</a></code><strong>NEW</strong>: a hidden helper function to enable a focused data acquisition approach to handle only a subset of metadata corresponding to the focused dataset.</p></li>
<ul><li>metadata handling <strong>IMPROVED</strong>: improved handling of different column names in matadata (DataDictionary) from REDCap dependent on whether it is acquired thorugh the api og downloaded from the server.</li>
</ul></div>
</div>
</main><asideclass="col-md-3"><navid="toc"><h2>On this page</h2>
</nav></aside></div>
<footer><divclass="pkgdown-footer-left">
<p></p><p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
</div>
<divclass="pkgdown-footer-right">
<p></p><p>Site built with <ahref="https://pkgdown.r-lib.org/"class="external-link">pkgdown</a> 2.0.7.</p>