Compare commits

...

2 Commits

Author SHA1 Message Date
agdamsbo
f7f390c1fd Deploying to gh-pages from @ agdamsbo/REDCapCAST@ff22ba05d8 🚀 2024-10-24 10:11:29 +00:00
agdamsbo
8ca611338b Deploying to gh-pages from @ agdamsbo/REDCapCAST@28beea676c 🚀 2024-10-24 09:59:46 +00:00
57 changed files with 335 additions and 123 deletions

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Contributor Covenant Code of Conduct</h1> <img src="logo.png" class="logo" alt=""><h1>Contributor Covenant Code of Conduct</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/CODE_OF_CONDUCT.md" class="external-link"><code>CODE_OF_CONDUCT.md</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/CODE_OF_CONDUCT.md" class="external-link"><code>CODE_OF_CONDUCT.md</code></a></small>
</div> </div>
<div id="contributor-covenant-code-of-conduct" class="section level1"> <div id="contributor-covenant-code-of-conduct" class="section level1">

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>GNU General Public License</h1> <img src="logo.png" class="logo" alt=""><h1>GNU General Public License</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/LICENSE.md" class="external-link"><code>LICENSE.md</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/LICENSE.md" class="external-link"><code>LICENSE.md</code></a></small>
</div> </div>
<div id="gnu-general-public-license" class="section level1"> <div id="gnu-general-public-license" class="section level1">

View File

@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>Database-creation</h1> <img src="../logo.png" class="logo" alt=""><h1>Database-creation</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/vignettes/Database-creation.Rmd" class="external-link"><code>vignettes/Database-creation.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/Database-creation.Rmd" class="external-link"><code>vignettes/Database-creation.Rmd</code></a></small>
<div class="d-none name"><code>Database-creation.Rmd</code></div> <div class="d-none name"><code>Database-creation.Rmd</code></div>
</div> </div>
@ -1290,7 +1290,7 @@ preserve as much information as possible.</p>
<table class="table gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false"> <table class="table gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
<thead><tr class="gt_col_headings"> <thead><tr class="gt_col_headings">
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_name">field_name</th> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_name">field_name</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="form_name">form_name</th> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="form_name">form_name</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="section_header">section_header</th> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="section_header">section_header</th>
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_type">field_type</th> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_type">field_type</th>
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_label">field_label</th> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_label">field_label</th>
@ -1311,7 +1311,7 @@ preserve as much information as possible.</p>
<tbody class="gt_table_body"> <tbody class="gt_table_body">
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">record_id</td> <td headers="field_name" class="gt_row gt_left">record_id</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">record_id</td> <td headers="field_label" class="gt_row gt_left">record_id</td>
@ -1331,7 +1331,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">cpr</td> <td headers="field_name" class="gt_row gt_left">cpr</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">cpr</td> <td headers="field_label" class="gt_row gt_left">cpr</td>
@ -1351,7 +1351,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">inclusion</td> <td headers="field_name" class="gt_row gt_left">inclusion</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">inclusion</td> <td headers="field_label" class="gt_row gt_left">inclusion</td>
@ -1371,7 +1371,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">inclusion_time</td> <td headers="field_name" class="gt_row gt_left">inclusion_time</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">inclusion_time</td> <td headers="field_label" class="gt_row gt_left">inclusion_time</td>
@ -1391,7 +1391,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">dob</td> <td headers="field_name" class="gt_row gt_left">dob</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">dob</td> <td headers="field_label" class="gt_row gt_left">dob</td>
@ -1411,7 +1411,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">age</td> <td headers="field_name" class="gt_row gt_left">age</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">age</td> <td headers="field_label" class="gt_row gt_left">age</td>
@ -1431,7 +1431,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">age_integer</td> <td headers="field_name" class="gt_row gt_left">age_integer</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">age_integer</td> <td headers="field_label" class="gt_row gt_left">age_integer</td>
@ -1451,7 +1451,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">sex</td> <td headers="field_name" class="gt_row gt_left">sex</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">sex</td> <td headers="field_label" class="gt_row gt_left">sex</td>
@ -1471,7 +1471,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">cohabitation</td> <td headers="field_name" class="gt_row gt_left">cohabitation</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">cohabitation</td> <td headers="field_label" class="gt_row gt_left">cohabitation</td>
@ -1491,7 +1491,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">hypertension</td> <td headers="field_name" class="gt_row gt_left">hypertension</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">hypertension</td> <td headers="field_label" class="gt_row gt_left">hypertension</td>
@ -1511,7 +1511,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">diabetes</td> <td headers="field_name" class="gt_row gt_left">diabetes</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">diabetes</td> <td headers="field_label" class="gt_row gt_left">diabetes</td>
@ -1531,7 +1531,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">region</td> <td headers="field_name" class="gt_row gt_left">region</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">radio</td> <td headers="field_type" class="gt_row gt_left">radio</td>
<td headers="field_label" class="gt_row gt_left">region</td> <td headers="field_label" class="gt_row gt_left">region</td>
@ -1551,7 +1551,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">mrs_assessed</td> <td headers="field_name" class="gt_row gt_left">mrs_assessed</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">mrs_assessed</td> <td headers="field_label" class="gt_row gt_left">mrs_assessed</td>
@ -1571,7 +1571,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">mrs_date</td> <td headers="field_name" class="gt_row gt_left">mrs_date</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">mrs_date</td> <td headers="field_label" class="gt_row gt_left">mrs_date</td>
@ -1591,7 +1591,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">mrs_score</td> <td headers="field_name" class="gt_row gt_left">mrs_score</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">mrs_score</td> <td headers="field_label" class="gt_row gt_left">mrs_score</td>
@ -1611,7 +1611,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">event_datetime</td> <td headers="field_name" class="gt_row gt_left">event_datetime</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">event_datetime</td> <td headers="field_label" class="gt_row gt_left">event_datetime</td>
@ -1631,7 +1631,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">event_age</td> <td headers="field_name" class="gt_row gt_left">event_age</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">event_age</td> <td headers="field_label" class="gt_row gt_left">event_age</td>
@ -1651,7 +1651,7 @@ preserve as much information as possible.</p>
</tr> </tr>
<tr> <tr>
<td headers="field_name" class="gt_row gt_left">event_type</td> <td headers="field_name" class="gt_row gt_left">event_type</td>
<td headers="form_name" class="gt_row gt_center">NA</td> <td headers="form_name" class="gt_row gt_left">data</td>
<td headers="section_header" class="gt_row gt_center">NA</td> <td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td> <td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">event_type</td> <td headers="field_label" class="gt_row gt_left">event_type</td>

View File

@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>Introduction</h1> <img src="../logo.png" class="logo" alt=""><h1>Introduction</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/vignettes/Introduction.Rmd" class="external-link"><code>vignettes/Introduction.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/Introduction.Rmd" class="external-link"><code>vignettes/Introduction.Rmd</code></a></small>
<div class="d-none name"><code>Introduction.Rmd</code></div> <div class="d-none name"><code>Introduction.Rmd</code></div>
</div> </div>

View File

@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>Shiny-app</h1> <img src="../logo.png" class="logo" alt=""><h1>Shiny-app</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/vignettes/Shiny-app.Rmd" class="external-link"><code>vignettes/Shiny-app.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/Shiny-app.Rmd" class="external-link"><code>vignettes/Shiny-app.Rmd</code></a></small>
<div class="d-none name"><code>Shiny-app.Rmd</code></div> <div class="d-none name"><code>Shiny-app.Rmd</code></div>
</div> </div>

View File

@ -51,7 +51,7 @@
<div class="section level2"> <div class="section level2">
<h2 id="citation">Citation</h2> <h2 id="citation">Citation</h2>
<p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p> <p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p>
<p>Damsbo A, Egeler P (2024). <p>Damsbo A, Egeler P (2024).
<em>REDCapCAST: REDCap Castellated Data Handling</em>. <em>REDCapCAST: REDCap Castellated Data Handling</em>.

View File

@ -34,9 +34,23 @@
<div class="row"> <div class="row">
<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>Changelog</h1> <img src="../logo.png" class="logo" alt=""><h1>Changelog</h1>
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/NEWS.md" class="external-link"><code>NEWS.md</code></a></small> <small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
</div> </div>
<div class="section level2">
<h2 class="pkg-version" data-toc-text="24.10.4" id="redcapcast-24104">REDCapCAST 24.10.4<a class="anchor" aria-label="anchor" href="#redcapcast-24104"></a></h2>
<p>Revised tests.</p>
<div class="section level4">
<h4 id="functions-24-10-4">Functions:<a class="anchor" aria-label="anchor" href="#functions-24-10-4"></a></h4>
<ul><li><p>Bug: form.name specified to ds2dd_detailed() was ignored. Corrected to only be ignored if form.sep is specified. Added handling of re-occurring <code>form.sep</code> pattern.</p></li>
<li><p>New: <code><a href="../reference/export_redcap_instrument.html">export_redcap_instrument()</a></code> is a new version of <code><a href="../reference/create_instrument_meta.html">create_instrument_meta()</a></code>, that will only export a single instrument. Multiple instrument export can be done with <code><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply()</a></code> or <code><a href="https://purrr.tidyverse.org/reference/map.html" class="external-link">purrr::map()</a></code>. This allows for inclusion of this functionality in the Shiny implementation and is easier to handle. <code><a href="../reference/create_instrument_meta.html">create_instrument_meta()</a></code> is deprecated.</p></li>
</ul></div>
<div class="section level4">
<h4 id="shiny-24-10-4">Shiny:<a class="anchor" aria-label="anchor" href="#shiny-24-10-4"></a></h4>
<ul><li>New: Export a REDCap instrument ready to add to your database based on an uploaded spreadsheet. This is thanks to the <code><a href="../reference/export_redcap_instrument.html">export_redcap_instrument()</a></code> function. THis functionality is intended for projects in production and adding instruments should be handled manually and not by API upload.</li>
</ul><p>The shiny implementation is included with this package. Implementing in shinylive may be looked into again later.</p>
</div>
</div>
<div class="section level2"> <div class="section level2">
<h2 class="pkg-version" data-toc-text="24.10.3" id="redcapcast-24103">REDCapCAST 24.10.3<a class="anchor" aria-label="anchor" href="#redcapcast-24103"></a></h2><p class="text-muted">CRAN release: 2024-10-03</p> <h2 class="pkg-version" data-toc-text="24.10.3" id="redcapcast-24103">REDCapCAST 24.10.3<a class="anchor" aria-label="anchor" href="#redcapcast-24103"></a></h2><p class="text-muted">CRAN release: 2024-10-03</p>
<p>Updated links and spelling.</p> <p>Updated links and spelling.</p>

View File

@ -5,7 +5,7 @@ articles:
Database-creation: Database-creation.html Database-creation: Database-creation.html
Introduction: Introduction.html Introduction: Introduction.html
Shiny-app: Shiny-app.html Shiny-app: Shiny-app.html
last_built: 2024-10-03T08:56Z last_built: 2024-10-24T10:11Z
urls: urls:
reference: https://agdamsbo.github.io/REDCapCAST/reference reference: https://agdamsbo.github.io/REDCapCAST/reference
article: https://agdamsbo.github.io/REDCapCAST/articles article: https://agdamsbo.github.io/REDCapCAST/articles

View File

@ -40,7 +40,7 @@ Originally forked from the R part of 'REDCapRITS' by Paul Egeler. See https://gi
<div class="row"> <div class="row">
<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>REDCapCAST: REDCap Castellated Data Handling</h1> <img src="../logo.png" class="logo" alt=""><h1>REDCapCAST: REDCap Castellated Data Handling</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/REDCapCAST-package.R" class="external-link"><code>R/REDCapCAST-package.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/REDCapCAST-package.R" class="external-link"><code>R/REDCapCAST-package.R</code></a></small>
<div class="d-none name"><code>REDCapCAST-package.Rd</code></div> <div class="d-none name"><code>REDCapCAST-package.Rd</code></div>
</div> </div>

View File

@ -38,7 +38,7 @@ is used to determine which fields should be included in each resultant table."><
<div class="row"> <div class="row">
<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>Split REDCap repeating instruments table into multiple tables</h1> <img src="../logo.png" class="logo" alt=""><h1>Split REDCap repeating instruments table into multiple tables</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/REDCap_split.r" class="external-link"><code>R/REDCap_split.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/REDCap_split.r" class="external-link"><code>R/REDCap_split.r</code></a></small>
<div class="d-none name"><code>REDCap_split.Rd</code></div> <div class="d-none name"><code>REDCap_split.Rd</code></div>
</div> </div>

View File

@ -42,7 +42,7 @@ naming."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAS
<div class="row"> <div class="row">
<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>List-base regex case_when</h1> <img src="../logo.png" class="logo" alt=""><h1>List-base regex case_when</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>case_match_regex_list.Rd</code></div> <div class="d-none name"><code>case_match_regex_list.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Simple function to generate REDCap choices from character vector</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap choices from character vector</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>char2choice.Rd</code></div> <div class="d-none name"><code>char2choice.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Simple function to generate REDCap branching logic from character vector</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap branching logic from character vector</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>char2cond.Rd</code></div> <div class="d-none name"><code>char2cond.Rd</code></div>
</div> </div>

View File

@ -38,7 +38,7 @@ Trying to make up for different naming conventions."><meta property="og:image" c
<div class="row"> <div class="row">
<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>clean_redcap_name</h1> <img src="../logo.png" class="logo" alt=""><h1>clean_redcap_name</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>clean_redcap_name.Rd</code></div> <div class="d-none name"><code>clean_redcap_name.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Create two-column HTML table for data piping in REDCap instruments</h1> <img src="../logo.png" class="logo" alt=""><h1>Create two-column HTML table for data piping in REDCap instruments</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>create_html_table.Rd</code></div> <div class="d-none name"><code>create_html_table.Rd</code></div>
</div> </div>

View File

@ -1,9 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Create zips file with necessary content based on data set — create_instrument_meta • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Create zips file with necessary content based on data set — create_instrument_meta"><meta name="description" content="Metadata can be added by editing the data dictionary of a project in the <!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>DEPRICATED Create zips file with necessary content based on data set — create_instrument_meta • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="DEPRICATED Create zips file with necessary content based on data set — create_instrument_meta"><meta name="description" content="Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this can be initial design phase. If you want to later add new instruments, this
used to add instrument(s) to a project in production."><meta property="og:description" content="Metadata can be added by editing the data dictionary of a project in the function can be used to create (an) instrument(s) to add to a project in
initial design phase. If you want to later add new instruments, this can be production."><meta property="og:description" content="Metadata can be added by editing the data dictionary of a project in the
used to add instrument(s) to a project in production."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body> initial design phase. If you want to later add new instruments, this
function can be used to create (an) instrument(s) to add to a project in
production."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a> <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
@ -37,15 +39,16 @@ used to add instrument(s) to a project in production."><meta property="og:image"
</nav><div class="container template-reference-topic"> </nav><div class="container template-reference-topic">
<div class="row"> <div class="row">
<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>Create zips file with necessary content based on data set</h1> <img src="../logo.png" class="logo" alt=""><h1>DEPRICATED Create zips file with necessary content based on data set</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/create_instrument_meta.R" class="external-link"><code>R/create_instrument_meta.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>create_instrument_meta.Rd</code></div> <div class="d-none name"><code>create_instrument_meta.Rd</code></div>
</div> </div>
<div class="ref-description section level2"> <div class="ref-description section level2">
<p>Metadata can be added by editing the data dictionary of a project in the <p>Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this can be initial design phase. If you want to later add new instruments, this
used to add instrument(s) to a project in production.</p> function can be used to create (an) instrument(s) to add to a project in
production.</p>
</div> </div>
<div class="section level2"> <div class="section level2">
@ -80,8 +83,13 @@ Default is TRUE.</p></dd>
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>add.auto.id <span class="op">=</span> <span class="cn">TRUE</span>,</span></span> <span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> form.name<span class="op">=</span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>,<span class="st">"c"</span><span class="op">)</span>,size <span class="op">=</span> <span class="fl">6</span>,replace <span class="op">=</span> <span class="cn">TRUE</span>,prob<span class="op">=</span><span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="fl">.5</span>,<span class="fl">2</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span> add.auto.id <span class="op">=</span> <span class="cn">TRUE</span>,</span></span>
<span class="r-in"><span> form.name <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>, <span class="st">"c"</span><span class="op">)</span>,</span></span>
<span class="r-in"><span> size <span class="op">=</span> <span class="fl">6</span>,</span></span>
<span class="r-in"><span> replace <span class="op">=</span> <span class="cn">TRUE</span>, prob <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="fl">.5</span>, <span class="fl">2</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"meta"</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"meta"</span><span class="op">)</span></span></span>
<span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span> <span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span>
<span class="r-in"><span><span class="co"># data |&gt; create_instrument_meta()</span></span></span> <span class="r-in"><span><span class="co"># data |&gt; create_instrument_meta()</span></span></span>
@ -89,9 +97,42 @@ Default is TRUE.</p></dd>
<span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>add.auto.id <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>add.auto.id <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"data"</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"data"</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">data</span><span class="op">)</span> <span class="op">&lt;-</span> <span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(names(data)),</span></span></span> <span class="r-in"><span><span class="va">iris</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(data)}"</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/stats/setNames.html" class="external-link">setNames</a></span><span class="op">(</span><span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(ncol(iris)),</span></span></span>
<span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">data</span> <span class="op">|&gt;</span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>form.sep<span class="op">=</span><span class="st">"__"</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(iris)}"</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>form.sep <span class="op">=</span> <span class="st">"__"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $data</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 150 × 5</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> Sepal.Length Sepal.Width Petal.Length Petal.Width Species</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;fct&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 1</span> 5.1 3.5 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> 4.9 3 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> 4.7 3.2 1.3 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> 4.6 3.1 1.5 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> 5 3.6 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> 5.4 3.9 1.7 0.4 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> 4.6 3.4 1.4 0.3 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> 5 3.4 1.5 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> 4.4 2.9 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> 4.9 3.1 1.5 0.1 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 140 more rows</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> $meta</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 5 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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> Sepal.Length b <span style="color: #BB0000;">NA</span> text Sepal.Length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> Sepal.Width b <span style="color: #BB0000;">NA</span> text Sepal.Width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> Petal.Length b <span style="color: #BB0000;">NA</span> text Petal.Length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> Petal.Width b <span style="color: #BB0000;">NA</span> text Petal.Width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> Species b <span style="color: #BB0000;">NA</span> radio Species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># branching_logic &lt;lgl&gt;, required_field &lt;lgl&gt;, custom_alignment &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># question_number &lt;lgl&gt;, matrix_group_name &lt;lgl&gt;, matrix_ranking &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># field_annotation &lt;lgl&gt;</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-in"><span><span class="co"># data |&gt;</span></span></span> <span class="r-in"><span><span class="co"># data |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># purrr::pluck("meta") |&gt;</span></span></span> <span class="r-in"><span><span class="co"># purrr::pluck("meta") |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># create_instrument_meta(record.id = FALSE)</span></span></span> <span class="r-in"><span><span class="co"># create_instrument_meta(record.id = FALSE)</span></span></span>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Convert single digits to words</h1> <img src="../logo.png" class="logo" alt=""><h1>Convert single digits to words</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>d2w.Rd</code></div> <div class="d-none name"><code>d2w.Rd</code></div>
</div> </div>

View File

@ -44,7 +44,7 @@ data dictionary, but gives a few options for formatting."><meta property="og:ima
<div class="row"> <div class="row">
<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>Doc table to data dictionary - EARLY, DOCS MISSING</h1> <img src="../logo.png" class="logo" alt=""><h1>Doc table to data dictionary - EARLY, DOCS MISSING</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>doc2dd.Rd</code></div> <div class="d-none name"><code>doc2dd.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ for a more advanced function."><meta property="og:image" content="https://agdams
<div class="row"> <div class="row">
<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>(DEPRECATED) Data set to data dictionary function</h1> <img src="../logo.png" class="logo" alt=""><h1>(DEPRECATED) Data set to data dictionary function</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small>
<div class="d-none name"><code>ds2dd.Rd</code></div> <div class="d-none name"><code>ds2dd.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Extract data from stata file for data dictionary</h1> <img src="../logo.png" class="logo" alt=""><h1>Extract data from stata file for data dictionary</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>ds2dd_detailed.Rd</code></div> <div class="d-none name"><code>ds2dd_detailed.Rd</code></div>
</div> </div>
@ -87,7 +87,7 @@ ncol(data). Default is NULL and "data" is used.</p></dd>
<dt id="arg-form-sep">form.sep<a class="anchor" aria-label="anchor" href="#arg-form-sep"></a></dt> <dt id="arg-form-sep">form.sep<a class="anchor" aria-label="anchor" href="#arg-form-sep"></a></dt>
<dd><p>If supplied dataset has form names as suffix or prefix to the <dd><p>If supplied dataset has form names as suffix or prefix to the
column/variable names, the seperator can be specified. If supplied, the column/variable names, the seperator can be specified. If supplied, the
form.sep is ignored. Default is NULL.</p></dd> form.name is ignored. Default is NULL.</p></dd>
<dt id="arg-form-prefix">form.prefix<a class="anchor" aria-label="anchor" href="#arg-form-prefix"></a></dt> <dt id="arg-form-prefix">form.prefix<a class="anchor" aria-label="anchor" href="#arg-form-prefix"></a></dt>
@ -262,17 +262,17 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 24 × 18</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 24 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span> <span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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> record_id <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text record_id </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 1</span> record_id data <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> redcap_event_name <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text redcap_event_na…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> redcap_event_name data <span style="color: #BB0000;">NA</span> text redcap_event_na…</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> redcap_repeat_instrument <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text redcap_repeat_i…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> redcap_repeat_instrument data <span style="color: #BB0000;">NA</span> text redcap_repeat_i…</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> redcap_repeat_instance <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text redcap_repeat_i…</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> redcap_repeat_instance data <span style="color: #BB0000;">NA</span> text redcap_repeat_i…</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> cpr <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text cpr </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> cpr data <span style="color: #BB0000;">NA</span> text cpr </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> inclusion <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text inclusion </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> inclusion data <span style="color: #BB0000;">NA</span> text inclusion </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> inclusion_time <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text inclusion_time </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> inclusion_time data <span style="color: #BB0000;">NA</span> text inclusion_time </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> dob <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text dob </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> dob data <span style="color: #BB0000;">NA</span> text dob </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> age <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text age </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> age data <span style="color: #BB0000;">NA</span> text age </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> age_integer <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text age_integer </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> age_integer data <span style="color: #BB0000;">NA</span> text age_integer </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 14 more rows</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 14 more rows</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;lgl&gt;, field_note &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;lgl&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
@ -302,13 +302,13 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 6 × 18</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 6 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span> <span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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> record_id <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text record_id </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> record_id data <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text sepal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length data <span style="color: #BB0000;">NA</span> text sepal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text sepal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width data <span style="color: #BB0000;">NA</span> text sepal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text petal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length data <span style="color: #BB0000;">NA</span> text petal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text petal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width data <span style="color: #BB0000;">NA</span> text petal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> radio species </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species data <span style="color: #BB0000;">NA</span> radio species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>
@ -316,6 +316,28 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># question_number &lt;lgl&gt;, matrix_group_name &lt;lgl&gt;, matrix_ranking &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># question_number &lt;lgl&gt;, matrix_group_name &lt;lgl&gt;, matrix_ranking &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># field_annotation &lt;lgl&gt;</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># field_annotation &lt;lgl&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> </span>
<span class="r-in"><span><span class="va">iris</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">ds2dd_detailed</span><span class="op">(</span></span></span>
<span class="r-in"><span> add.auto.id <span class="op">=</span> <span class="cn">TRUE</span>,</span></span>
<span class="r-in"><span> form.name <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>, <span class="st">"c"</span><span class="op">)</span>, size <span class="op">=</span> <span class="fl">6</span>, replace <span class="op">=</span> <span class="cn">TRUE</span>, prob <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="fl">.5</span>, <span class="fl">2</span><span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span> <span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"meta"</span><span class="op">)</span></span></span>
<span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 6 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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> record_id c <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length b <span style="color: #BB0000;">NA</span> text sepal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width b <span style="color: #BB0000;">NA</span> text sepal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length b <span style="color: #BB0000;">NA</span> text petal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width c <span style="color: #BB0000;">NA</span> text petal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species c <span style="color: #BB0000;">NA</span> radio species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># branching_logic &lt;lgl&gt;, required_field &lt;lgl&gt;, custom_alignment &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># question_number &lt;lgl&gt;, matrix_group_name &lt;lgl&gt;, matrix_ranking &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># field_annotation &lt;lgl&gt;</span></span>
<span class="r-in"><span><span class="va">mtcars</span> <span class="op">|&gt;</span> <span class="fu">ds2dd_detailed</span><span class="op">(</span>add.auto.id <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="va">mtcars</span> <span class="op">|&gt;</span> <span class="fu">ds2dd_detailed</span><span class="op">(</span>add.auto.id <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
<span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span> <span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $data</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $data</span>
@ -337,19 +359,19 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 12 × 18</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 12 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label</span> <span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&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> record_id <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text record_id </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 1</span> record_id data <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> mpg <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text mpg </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> mpg data <span style="color: #BB0000;">NA</span> text mpg </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> cyl <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text cyl </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> cyl data <span style="color: #BB0000;">NA</span> text cyl </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> disp <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text disp </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> disp data <span style="color: #BB0000;">NA</span> text disp </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> hp <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text hp </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> hp data <span style="color: #BB0000;">NA</span> text hp </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> drat <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text drat </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> drat data <span style="color: #BB0000;">NA</span> text drat </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> wt <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text wt </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> wt data <span style="color: #BB0000;">NA</span> text wt </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> qsec <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text qsec </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> qsec data <span style="color: #BB0000;">NA</span> text qsec </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> vs <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text vs </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> vs data <span style="color: #BB0000;">NA</span> text vs </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> am <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text am </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> am data <span style="color: #BB0000;">NA</span> text am </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">11</span> gear <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text gear </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">11</span> gear data <span style="color: #BB0000;">NA</span> text gear </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">12</span> carb <span style="color: #BB0000;">NA</span> <span style="color: #BB0000;">NA</span> text carb </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">12</span> carb data <span style="color: #BB0000;">NA</span> text carb </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;lgl&gt;, field_note &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;lgl&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>
@ -363,7 +385,7 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span> <span class="r-msg co"><span class="r-pr">#&gt;</span> A default id column has been added</span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">data</span><span class="op">)</span> <span class="op">&lt;-</span> <span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(names(data)),</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">data</span><span class="op">)</span> <span class="op">&lt;-</span> <span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(names(data)),</span></span></span>
<span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(data)}"</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(data)}"</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">data</span> <span class="op">|&gt;</span> <span class="fu">ds2dd_detailed</span><span class="op">(</span>form.sep<span class="op">=</span><span class="st">"__"</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="va">data</span> <span class="op">|&gt;</span> <span class="fu">ds2dd_detailed</span><span class="op">(</span>form.sep <span class="op">=</span> <span class="st">"__"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $data</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $data</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 150 × 6</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 150 × 6</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> record_id sepal.length sepal.width petal.length petal.width species</span> <span class="r-out co"><span class="r-pr">#&gt;</span> record_id sepal.length sepal.width petal.length petal.width species</span>
@ -387,9 +409,9 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> record_id b <span style="color: #BB0000;">NA</span> text record_id </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> record_id b <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length b <span style="color: #BB0000;">NA</span> text sepal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length b <span style="color: #BB0000;">NA</span> text sepal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width b <span style="color: #BB0000;">NA</span> text sepal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width b <span style="color: #BB0000;">NA</span> text sepal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length a <span style="color: #BB0000;">NA</span> text petal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length b <span style="color: #BB0000;">NA</span> text petal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width a <span style="color: #BB0000;">NA</span> text petal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width b <span style="color: #BB0000;">NA</span> text petal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species a <span style="color: #BB0000;">NA</span> radio species </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species b <span style="color: #BB0000;">NA</span> radio species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Secure API key storage and data acquisition in one</h1> <img src="../logo.png" class="logo" alt=""><h1>Secure API key storage and data acquisition in one</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>easy_redcap.Rd</code></div> <div class="d-none name"><code>easy_redcap.Rd</code></div>
</div> </div>

View File

@ -0,0 +1,128 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Creates zip-file with necessary content to manually add instrument to database — export_redcap_instrument • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Creates zip-file with necessary content to manually add instrument to database — export_redcap_instrument"><meta name="description" content="Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this
function can be used to create (an) instrument(s) to add to a project in
production."><meta property="og:description" content="Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this
function can be used to create (an) instrument(s) to add to a project in
production."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.10.3</small>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse ms-3">
<ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
<li class="nav-item dropdown">
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/Database-creation.html">Database-creation</a></li>
<li><a class="dropdown-item" href="../articles/Introduction.html">Introduction</a></li>
<li><a class="dropdown-item" href="../articles/Shiny-app.html">Shiny-app</a></li>
</ul></li>
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Creates zip-file with necessary content to manually add instrument to database</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>export_redcap_instrument.Rd</code></div>
</div>
<div class="ref-description section level2">
<p>Metadata can be added by editing the data dictionary of a project in the
initial design phase. If you want to later add new instruments, this
function can be used to create (an) instrument(s) to add to a project in
production.</p>
</div>
<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>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
<dl><dt id="arg-data">data<a class="anchor" aria-label="anchor" href="#arg-data"></a></dt>
<dd><p>metadata for the relevant instrument.
Could be from `ds2dd_detailed()`</p></dd>
<dt id="arg-file">file<a class="anchor" aria-label="anchor" href="#arg-file"></a></dt>
<dd><p>destination file name.</p></dd>
<dt id="arg-force">force<a class="anchor" aria-label="anchor" href="#arg-force"></a></dt>
<dd><p>force instrument creation and ignore different form names by
just using the first.</p></dd>
<dt id="arg-record-id">record.id<a class="anchor" aria-label="anchor" href="#arg-record-id"></a></dt>
<dd><p>record id variable name. Default is 'record_id'.</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
<p>exports zip-file</p>
</div>
<div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co">#iris |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span>
<span class="r-in"><span><span class="co"># add.auto.id = TRUE,</span></span></span>
<span class="r-in"><span><span class="co"># form.name = sample(c("b", "c"), size = 6, replace = TRUE, prob = rep(.5, 2))</span></span></span>
<span class="r-in"><span><span class="co"># ) |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># purrr::pluck("meta") |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># (\(.x){</span></span></span>
<span class="r-in"><span><span class="co"># split(.x, .x$form_name)</span></span></span>
<span class="r-in"><span><span class="co"># })() |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># purrr::imap(function(.x, .i){</span></span></span>
<span class="r-in"><span><span class="co"># export_redcap_instrument(.x,file=here::here(paste0(.i,Sys.Date(),".zip")))</span></span></span>
<span class="r-in"><span><span class="co"># })</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co">#iris |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span>
<span class="r-in"><span><span class="co"># add.auto.id = TRUE</span></span></span>
<span class="r-in"><span><span class="co"># ) |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># purrr::pluck("meta") |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># export_redcap_instrument(file=here::here(paste0("instrument",Sys.Date(),".zip")))</span></span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
<p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
</div>
<div class="pkgdown-footer-right">
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.1.</p>
</div>
</footer></div>
</body></html>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Helper to import files correctly</h1> <img src="../logo.png" class="logo" alt=""><h1>Helper to import files correctly</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>file_extension.Rd</code></div> <div class="d-none name"><code>file_extension.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>focused_metadata</h1> <img src="../logo.png" class="logo" alt=""><h1>focused_metadata</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>focused_metadata.Rd</code></div> <div class="d-none name"><code>focused_metadata.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Sub-header formatting wrapper</h1> <img src="../logo.png" class="logo" alt=""><h1>Sub-header formatting wrapper</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>format_subheader.Rd</code></div> <div class="d-none name"><code>format_subheader.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Retrieve project API key if stored, if not, set and retrieve</h1> <img src="../logo.png" class="logo" alt=""><h1>Retrieve project API key if stored, if not, set and retrieve</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>get_api_key.Rd</code></div> <div class="d-none name"><code>get_api_key.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Get the id name</h1> <img src="../logo.png" class="logo" alt=""><h1>Get the id name</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>get_id_name.Rd</code></div> <div class="d-none name"><code>get_id_name.Rd</code></div>
</div> </div>

View File

@ -40,7 +40,7 @@ has to be converted to character class before REDCap upload.'><meta property="og
<div class="row"> <div class="row">
<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>Try at determining which are true time only variables</h1> <img src="../logo.png" class="logo" alt=""><h1>Try at determining which are true time only variables</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>guess_time_only_filter.Rd</code></div> <div class="d-none name"><code>guess_time_only_filter.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Change "hms" to "character" for REDCap upload.</h1> <img src="../logo.png" class="logo" alt=""><h1>Change "hms" to "character" for REDCap upload.</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>hms2character.Rd</code></div> <div class="d-none name"><code>hms2character.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Simple html tag wrapping for REDCap text formatting</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple html tag wrapping for REDCap text formatting</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>html_tag_wrap.Rd</code></div> <div class="d-none name"><code>html_tag_wrap.Rd</code></div>
</div> </div>

View File

@ -88,7 +88,7 @@
<code><a href="create_instrument_meta.html">create_instrument_meta()</a></code> <code><a href="create_instrument_meta.html">create_instrument_meta()</a></code>
</dt> </dt>
<dd>Create zips file with necessary content based on data set</dd> <dd>DEPRICATED Create zips file with necessary content based on data set</dd>
</dl><dl><dt> </dl><dl><dt>
<code><a href="d2w.html">d2w()</a></code> <code><a href="d2w.html">d2w()</a></code>
@ -121,6 +121,12 @@
<dd>Secure API key storage and data acquisition in one</dd> <dd>Secure API key storage and data acquisition in one</dd>
</dl><dl><dt> </dl><dl><dt>
<code><a href="export_redcap_instrument.html">export_redcap_instrument()</a></code>
</dt>
<dd>Creates zip-file with necessary content to manually add instrument to database</dd>
</dl><dl><dt>
<code><a href="file_extension.html">file_extension()</a></code> <code><a href="file_extension.html">file_extension()</a></code>
</dt> </dt>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Multi missing check</h1> <img src="../logo.png" class="logo" alt=""><h1>Multi missing check</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>is_missing.Rd</code></div> <div class="d-none name"><code>is_missing.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Test if repeatable or longitudinal</h1> <img src="../logo.png" class="logo" alt=""><h1>Test if repeatable or longitudinal</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>is_repeated_longitudinal.Rd</code></div> <div class="d-none name"><code>is_repeated_longitudinal.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Completion marking based on completed upload</h1> <img src="../logo.png" class="logo" alt=""><h1>Completion marking based on completed upload</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>mark_complete.Rd</code></div> <div class="d-none name"><code>mark_complete.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Match fields to forms</h1> <img src="../logo.png" class="logo" alt=""><h1>Match fields to forms</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>match_fields_to_form.Rd</code></div> <div class="d-none name"><code>match_fields_to_form.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>mtcars dataset slightly modified to use for Shiny app upload demonstration</h1> <img src="../logo.png" class="logo" alt=""><h1>mtcars dataset slightly modified to use for Shiny app upload demonstration</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/mtcars_redcap.R" class="external-link"><code>R/mtcars_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/mtcars_redcap.R" class="external-link"><code>R/mtcars_redcap.R</code></a></small>
<div class="d-none name"><code>mtcars_redcap.Rd</code></div> <div class="d-none name"><code>mtcars_redcap.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>User input processing character</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing character</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.character.Rd</code></div> <div class="d-none name"><code>process_user_input.character.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>User input processing data.frame</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing data.frame</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.data.frame.Rd</code></div> <div class="d-none name"><code>process_user_input.data.frame.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>User input processing default</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing default</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.default.Rd</code></div> <div class="d-none name"><code>process_user_input.default.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>User input processing</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.Rd</code></div> <div class="d-none name"><code>process_user_input.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>User input processing response</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing response</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.response.Rd</code></div> <div class="d-none name"><code>process_user_input.response.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Flexible file import based on extension</h1> <img src="../logo.png" class="logo" alt=""><h1>Flexible file import based on extension</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>read_input.Rd</code></div> <div class="d-none name"><code>read_input.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<div class="row"> <div class="row">
<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>Convenience function to download complete instrument, using token storage in keyring.</h1> <img src="../logo.png" class="logo" alt=""><h1>Convenience function to download complete instrument, using token storage in keyring.</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/read_redcap_instrument.R" class="external-link"><code>R/read_redcap_instrument.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/read_redcap_instrument.R" class="external-link"><code>R/read_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>read_redcap_instrument.Rd</code></div> <div class="d-none name"><code>read_redcap_instrument.Rd</code></div>
</div> </div>

View File

@ -42,7 +42,7 @@ instruments."><meta property="og:image" content="https://agdamsbo.github.io/REDC
<div class="row"> <div class="row">
<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>Download REDCap data</h1> <img src="../logo.png" class="logo" alt=""><h1>Download REDCap data</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/read_redcap_tables.R" class="external-link"><code>R/read_redcap_tables.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/read_redcap_tables.R" class="external-link"><code>R/read_redcap_tables.R</code></a></small>
<div class="d-none name"><code>read_redcap_tables.Rd</code></div> <div class="d-none name"><code>read_redcap_tables.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ Handles longitudinal projects, but not yet repeated instruments."><meta property
<div class="row"> <div class="row">
<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>Redcap Wider</h1> <img src="../logo.png" class="logo" alt=""><h1>Redcap Wider</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/redcap_wider.R" class="external-link"><code>R/redcap_wider.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcap_wider.R" class="external-link"><code>R/redcap_wider.R</code></a></small>
<div class="d-none name"><code>redcap_wider.Rd</code></div> <div class="d-none name"><code>redcap_wider.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ Contains only synthetic data."><meta property="og:image" content="https://agdams
<div class="row"> <div class="row">
<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>Data set for demonstration</h1> <img src="../logo.png" class="logo" alt=""><h1>Data set for demonstration</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/redcapcast_data.R" class="external-link"><code>R/redcapcast_data.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcapcast_data.R" class="external-link"><code>R/redcapcast_data.R</code></a></small>
<div class="d-none name"><code>redcapcast_data.Rd</code></div> <div class="d-none name"><code>redcapcast_data.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>REDCap metadata from data base</h1> <img src="../logo.png" class="logo" alt=""><h1>REDCap metadata from data base</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/redcapcast_meta.R" class="external-link"><code>R/redcapcast_meta.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcapcast_meta.R" class="external-link"><code>R/redcapcast_meta.R</code></a></small>
<div class="d-none name"><code>redcapcast_meta.Rd</code></div> <div class="d-none name"><code>redcapcast_meta.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ on CRAN. Github:https://github.com/trinker/textclean"><meta property="og:image"
<div class="row"> <div class="row">
<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>Replace curly apostrophes and quotes from word</h1> <img src="../logo.png" class="logo" alt=""><h1>Replace curly apostrophes and quotes from word</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>replace_curly_quote.Rd</code></div> <div class="d-none name"><code>replace_curly_quote.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Sanitize list of data frames</h1> <img src="../logo.png" class="logo" alt=""><h1>Sanitize list of data frames</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>sanitize_split.Rd</code></div> <div class="d-none name"><code>sanitize_split.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Shiny server factory</h1> <img src="../logo.png" class="logo" alt=""><h1>Shiny server factory</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>server_factory.Rd</code></div> <div class="d-none name"><code>server_factory.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Launch the included Shiny-app for database casting and upload</h1> <img src="../logo.png" class="logo" alt=""><h1>Launch the included Shiny-app for database casting and upload</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>shiny_cast.Rd</code></div> <div class="d-none name"><code>shiny_cast.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Split a data frame into separate tables for each form</h1> <img src="../logo.png" class="logo" alt=""><h1>Split a data frame into separate tables for each form</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>split_non_repeating_forms.Rd</code></div> <div class="d-none name"><code>split_non_repeating_forms.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ easing the split around the defined delimiter, see example."><meta property="og:
<div class="row"> <div class="row">
<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>Extended string splitting</h1> <img src="../logo.png" class="logo" alt=""><h1>Extended string splitting</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>strsplitx.Rd</code></div> <div class="d-none name"><code>strsplitx.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>Correction based on time_only_filter function</h1> <img src="../logo.png" class="logo" alt=""><h1>Correction based on time_only_filter function</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>time_only_correction.Rd</code></div> <div class="d-none name"><code>time_only_correction.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<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>UI factory for shiny app</h1> <img src="../logo.png" class="logo" alt=""><h1>UI factory for shiny app</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.10.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>ui_factory.Rd</code></div> <div class="d-none name"><code>ui_factory.Rd</code></div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,7 @@
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/ds2dd.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/ds2dd.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/ds2dd_detailed.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/ds2dd_detailed.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/easy_redcap.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/easy_redcap.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/export_redcap_instrument.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/file_extension.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/file_extension.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/focused_metadata.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/focused_metadata.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/format_subheader.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/format_subheader.html</loc></url>