mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-21 21:10:22 +01:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@9e33057c06 🚀
This commit is contained in:
parent
aa962f2d9f
commit
b08fc68125
@ -101,7 +101,8 @@ datasets/spreadsheets securely in REDCap.</p>
|
|||||||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">mtcars</span> <span class="op">|></span></span>
|
<code class="sourceCode R"><span><span class="va">mtcars</span> <span class="op">|></span></span>
|
||||||
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||||
<span> <span class="fu"><a href="../reference/ds2dd.html">ds2dd</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
<span> <span class="fu"><a href="../reference/ds2dd.html">ds2dd</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|></span></span>
|
||||||
|
<span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||||
<p>The more advanced <code><a href="../reference/ds2dd_detailed.html">ds2dd_detailed()</a></code> is a natural
|
<p>The more advanced <code><a href="../reference/ds2dd_detailed.html">ds2dd_detailed()</a></code> is a natural
|
||||||
development. It will try to apply the most common data classes for data
|
development. It will try to apply the most common data classes for data
|
||||||
validation and will assume that the first column is the id number. It
|
validation and will assume that the first column is the id number. It
|
||||||
@ -114,7 +115,8 @@ preserve as much information as possible.</p>
|
|||||||
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||||
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="va">record_id</span>, <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://tidyselect.r-lib.org/reference/everything.html" class="external-link">everything</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="va">record_id</span>, <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://tidyselect.r-lib.org/reference/everything.html" class="external-link">everything</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||||
<span> <span class="fu"><a href="../reference/ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span><span class="op">)</span></span>
|
<span> <span class="fu"><a href="../reference/ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||||
<span><span class="va">dd_ls</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
<span><span class="va">dd_ls</span> <span class="op">|></span> </span>
|
||||||
|
<span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||||
<p>Additional specifications to the DataDictionary can be made manually,
|
<p>Additional specifications to the DataDictionary can be made manually,
|
||||||
or it can be uploaded and modified manually in the graphical user
|
or it can be uploaded and modified manually in the graphical user
|
||||||
interface on the web page.</p>
|
interface on the web page.</p>
|
||||||
|
@ -100,23 +100,23 @@ demonstration of the functions.</p>
|
|||||||
</h2>
|
</h2>
|
||||||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">redcapcast_data</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
<code class="sourceCode R"><span><span class="va">redcapcast_data</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||||
<div id="byxlgnpfbb" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
<div id="paaogbzpch" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||||
<style>#byxlgnpfbb table {
|
<style>#paaogbzpch table {
|
||||||
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb thead, #byxlgnpfbb tbody, #byxlgnpfbb tfoot, #byxlgnpfbb tr, #byxlgnpfbb td, #byxlgnpfbb th {
|
#paaogbzpch thead, #paaogbzpch tbody, #paaogbzpch tfoot, #paaogbzpch tr, #paaogbzpch td, #paaogbzpch th {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb p {
|
#paaogbzpch p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_table {
|
#paaogbzpch .gt_table {
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -142,12 +142,12 @@ demonstration of the functions.</p>
|
|||||||
border-left-color: #D3D3D3;
|
border-left-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_caption {
|
#paaogbzpch .gt_caption {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_title {
|
#paaogbzpch .gt_title {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -159,7 +159,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_subtitle {
|
#paaogbzpch .gt_subtitle {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -171,7 +171,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_heading {
|
#paaogbzpch .gt_heading {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom-color: #FFFFFF;
|
border-bottom-color: #FFFFFF;
|
||||||
@ -183,13 +183,13 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_bottom_border {
|
#paaogbzpch .gt_bottom_border {
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_col_headings {
|
#paaogbzpch .gt_col_headings {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
@ -204,7 +204,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_col_heading {
|
#paaogbzpch .gt_col_heading {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -224,7 +224,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_column_spanner_outer {
|
#paaogbzpch .gt_column_spanner_outer {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -236,15 +236,15 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_column_spanner_outer:first-child {
|
#paaogbzpch .gt_column_spanner_outer:first-child {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_column_spanner_outer:last-child {
|
#paaogbzpch .gt_column_spanner_outer:last-child {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_column_spanner {
|
#paaogbzpch .gt_column_spanner {
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
@ -256,11 +256,11 @@ demonstration of the functions.</p>
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_spanner_row {
|
#paaogbzpch .gt_spanner_row {
|
||||||
border-bottom-style: hidden;
|
border-bottom-style: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_group_heading {
|
#paaogbzpch .gt_group_heading {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -286,7 +286,7 @@ demonstration of the functions.</p>
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_empty_group_heading {
|
#paaogbzpch .gt_empty_group_heading {
|
||||||
padding: 0.5px;
|
padding: 0.5px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
@ -301,15 +301,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_from_md > :first-child {
|
#paaogbzpch .gt_from_md > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_from_md > :last-child {
|
#paaogbzpch .gt_from_md > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_row {
|
#paaogbzpch .gt_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -328,7 +328,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_stub {
|
#paaogbzpch .gt_stub {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -341,7 +341,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_stub_row_group {
|
#paaogbzpch .gt_stub_row_group {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -355,15 +355,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_row_group_first td {
|
#paaogbzpch .gt_row_group_first td {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_row_group_first th {
|
#paaogbzpch .gt_row_group_first th {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_summary_row {
|
#paaogbzpch .gt_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -373,16 +373,16 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_first_summary_row {
|
#paaogbzpch .gt_first_summary_row {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_first_summary_row.thick {
|
#paaogbzpch .gt_first_summary_row.thick {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_last_summary_row {
|
#paaogbzpch .gt_last_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -392,7 +392,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_grand_summary_row {
|
#paaogbzpch .gt_grand_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -402,7 +402,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_first_grand_summary_row {
|
#paaogbzpch .gt_first_grand_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -412,7 +412,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_last_grand_summary_row_top {
|
#paaogbzpch .gt_last_grand_summary_row_top {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -422,11 +422,11 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_striped {
|
#paaogbzpch .gt_striped {
|
||||||
background-color: rgba(128, 128, 128, 0.05);
|
background-color: rgba(128, 128, 128, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_table_body {
|
#paaogbzpch .gt_table_body {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
@ -435,7 +435,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_footnotes {
|
#paaogbzpch .gt_footnotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -449,7 +449,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_footnote {
|
#paaogbzpch .gt_footnote {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
@ -458,7 +458,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_sourcenotes {
|
#paaogbzpch .gt_sourcenotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -472,7 +472,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_sourcenote {
|
#paaogbzpch .gt_sourcenote {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -480,63 +480,63 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_left {
|
#paaogbzpch .gt_left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_center {
|
#paaogbzpch .gt_center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_right {
|
#paaogbzpch .gt_right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_font_normal {
|
#paaogbzpch .gt_font_normal {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_font_bold {
|
#paaogbzpch .gt_font_bold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_font_italic {
|
#paaogbzpch .gt_font_italic {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_super {
|
#paaogbzpch .gt_super {
|
||||||
font-size: 65%;
|
font-size: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_footnote_marks {
|
#paaogbzpch .gt_footnote_marks {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
vertical-align: 0.4em;
|
vertical-align: 0.4em;
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_asterisk {
|
#paaogbzpch .gt_asterisk {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: 0;
|
vertical-align: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_indent_1 {
|
#paaogbzpch .gt_indent_1 {
|
||||||
text-indent: 5px;
|
text-indent: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_indent_2 {
|
#paaogbzpch .gt_indent_2 {
|
||||||
text-indent: 10px;
|
text-indent: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_indent_3 {
|
#paaogbzpch .gt_indent_3 {
|
||||||
text-indent: 15px;
|
text-indent: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_indent_4 {
|
#paaogbzpch .gt_indent_4 {
|
||||||
text-indent: 20px;
|
text-indent: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#byxlgnpfbb .gt_indent_5 {
|
#paaogbzpch .gt_indent_5 {
|
||||||
text-indent: 25px;
|
text-indent: 25px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1067,23 +1067,23 @@ demonstration of the functions.</p>
|
|||||||
</div>
|
</div>
|
||||||
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">redcapcast_meta</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
<code class="sourceCode R"><span><span class="va">redcapcast_meta</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||||
<div id="pwssudkjrt" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
<div id="fglnijzowi" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||||
<style>#pwssudkjrt table {
|
<style>#fglnijzowi table {
|
||||||
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt thead, #pwssudkjrt tbody, #pwssudkjrt tfoot, #pwssudkjrt tr, #pwssudkjrt td, #pwssudkjrt th {
|
#fglnijzowi thead, #fglnijzowi tbody, #fglnijzowi tfoot, #fglnijzowi tr, #fglnijzowi td, #fglnijzowi th {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt p {
|
#fglnijzowi p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_table {
|
#fglnijzowi .gt_table {
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -1109,12 +1109,12 @@ demonstration of the functions.</p>
|
|||||||
border-left-color: #D3D3D3;
|
border-left-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_caption {
|
#fglnijzowi .gt_caption {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_title {
|
#fglnijzowi .gt_title {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -1126,7 +1126,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_subtitle {
|
#fglnijzowi .gt_subtitle {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -1138,7 +1138,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_heading {
|
#fglnijzowi .gt_heading {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom-color: #FFFFFF;
|
border-bottom-color: #FFFFFF;
|
||||||
@ -1150,13 +1150,13 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_bottom_border {
|
#fglnijzowi .gt_bottom_border {
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_col_headings {
|
#fglnijzowi .gt_col_headings {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
@ -1171,7 +1171,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_col_heading {
|
#fglnijzowi .gt_col_heading {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1191,7 +1191,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_column_spanner_outer {
|
#fglnijzowi .gt_column_spanner_outer {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1203,15 +1203,15 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_column_spanner_outer:first-child {
|
#fglnijzowi .gt_column_spanner_outer:first-child {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_column_spanner_outer:last-child {
|
#fglnijzowi .gt_column_spanner_outer:last-child {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_column_spanner {
|
#fglnijzowi .gt_column_spanner {
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
@ -1223,11 +1223,11 @@ demonstration of the functions.</p>
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_spanner_row {
|
#fglnijzowi .gt_spanner_row {
|
||||||
border-bottom-style: hidden;
|
border-bottom-style: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_group_heading {
|
#fglnijzowi .gt_group_heading {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1253,7 +1253,7 @@ demonstration of the functions.</p>
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_empty_group_heading {
|
#fglnijzowi .gt_empty_group_heading {
|
||||||
padding: 0.5px;
|
padding: 0.5px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
@ -1268,15 +1268,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_from_md > :first-child {
|
#fglnijzowi .gt_from_md > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_from_md > :last-child {
|
#fglnijzowi .gt_from_md > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_row {
|
#fglnijzowi .gt_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1295,7 +1295,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_stub {
|
#fglnijzowi .gt_stub {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1308,7 +1308,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_stub_row_group {
|
#fglnijzowi .gt_stub_row_group {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1322,15 +1322,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_row_group_first td {
|
#fglnijzowi .gt_row_group_first td {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_row_group_first th {
|
#fglnijzowi .gt_row_group_first th {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_summary_row {
|
#fglnijzowi .gt_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -1340,16 +1340,16 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_first_summary_row {
|
#fglnijzowi .gt_first_summary_row {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_first_summary_row.thick {
|
#fglnijzowi .gt_first_summary_row.thick {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_last_summary_row {
|
#fglnijzowi .gt_last_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1359,7 +1359,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_grand_summary_row {
|
#fglnijzowi .gt_grand_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -1369,7 +1369,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_first_grand_summary_row {
|
#fglnijzowi .gt_first_grand_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1379,7 +1379,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_last_grand_summary_row_top {
|
#fglnijzowi .gt_last_grand_summary_row_top {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1389,11 +1389,11 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_striped {
|
#fglnijzowi .gt_striped {
|
||||||
background-color: rgba(128, 128, 128, 0.05);
|
background-color: rgba(128, 128, 128, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_table_body {
|
#fglnijzowi .gt_table_body {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
@ -1402,7 +1402,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_footnotes {
|
#fglnijzowi .gt_footnotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -1416,7 +1416,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_footnote {
|
#fglnijzowi .gt_footnote {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
@ -1425,7 +1425,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_sourcenotes {
|
#fglnijzowi .gt_sourcenotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -1439,7 +1439,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_sourcenote {
|
#fglnijzowi .gt_sourcenote {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -1447,63 +1447,63 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_left {
|
#fglnijzowi .gt_left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_center {
|
#fglnijzowi .gt_center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_right {
|
#fglnijzowi .gt_right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_font_normal {
|
#fglnijzowi .gt_font_normal {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_font_bold {
|
#fglnijzowi .gt_font_bold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_font_italic {
|
#fglnijzowi .gt_font_italic {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_super {
|
#fglnijzowi .gt_super {
|
||||||
font-size: 65%;
|
font-size: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_footnote_marks {
|
#fglnijzowi .gt_footnote_marks {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
vertical-align: 0.4em;
|
vertical-align: 0.4em;
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_asterisk {
|
#fglnijzowi .gt_asterisk {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: 0;
|
vertical-align: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_indent_1 {
|
#fglnijzowi .gt_indent_1 {
|
||||||
text-indent: 5px;
|
text-indent: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_indent_2 {
|
#fglnijzowi .gt_indent_2 {
|
||||||
text-indent: 10px;
|
text-indent: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_indent_3 {
|
#fglnijzowi .gt_indent_3 {
|
||||||
text-indent: 15px;
|
text-indent: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_indent_4 {
|
#fglnijzowi .gt_indent_4 {
|
||||||
text-indent: 20px;
|
text-indent: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pwssudkjrt .gt_indent_5 {
|
#fglnijzowi .gt_indent_5 {
|
||||||
text-indent: 25px;
|
text-indent: 25px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1856,9 +1856,12 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
|||||||
</div>
|
</div>
|
||||||
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
||||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span>records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span></span>
|
||||||
|
<span> records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||||
<span> forms <span class="op">=</span> <span class="st">"repeating"</span><span class="op">)</span><span class="op">|></span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
<span> forms <span class="op">=</span> <span class="st">"repeating"</span></span>
|
||||||
|
<span> <span class="op">)</span> <span class="op">|></span> </span>
|
||||||
|
<span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||||
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
||||||
<span><span class="co">#> List of 2</span></span>
|
<span><span class="co">#> List of 2</span></span>
|
||||||
<span><span class="co">#> $ : tibble [10 × 17] (S3: tbl_df/tbl/data.frame)</span></span>
|
<span><span class="co">#> $ : tibble [10 × 17] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||||
@ -1888,9 +1891,12 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
|||||||
<span><span class="co">#> ..$ new_event_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span></code></pre></div>
|
<span><span class="co">#> ..$ new_event_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span></code></pre></div>
|
||||||
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
||||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span>records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span></span>
|
||||||
|
<span> records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||||
<span> forms <span class="op">=</span> <span class="st">"all"</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
<span> forms <span class="op">=</span> <span class="st">"all"</span></span>
|
||||||
|
<span> <span class="op">)</span> <span class="op">|></span> </span>
|
||||||
|
<span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||||
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
||||||
<span><span class="co">#> List of 3</span></span>
|
<span><span class="co">#> List of 3</span></span>
|
||||||
<span><span class="co">#> $ baseline_data_start: tibble [6 × 13] (S3: tbl_df/tbl/data.frame)</span></span>
|
<span><span class="co">#> $ baseline_data_start: tibble [6 × 13] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||||
|
@ -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-02-27T12:09Z
|
last_built: 2024-02-27T12:31Z
|
||||||
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
|
||||||
|
@ -126,17 +126,17 @@ instruments only or for all forms.</p></dd>
|
|||||||
<span class="r-in"><span><span class="va">records</span> <span class="op"><-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
|
<span class="r-in"><span><span class="va">records</span> <span class="op"><-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
|
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
|
||||||
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
|
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
|
||||||
<span class="r-in"><span> content <span class="op">=</span> <span class="st">'record'</span>,</span></span>
|
<span class="r-in"><span> content <span class="op">=</span> <span class="st">"record"</span>,</span></span>
|
||||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">'json'</span>,</span></span>
|
<span class="r-in"><span> format <span class="op">=</span> <span class="st">"json"</span>,</span></span>
|
||||||
<span class="r-in"><span> returnFormat <span class="op">=</span> <span class="st">'json'</span></span></span>
|
<span class="r-in"><span> returnFormat <span class="op">=</span> <span class="st">"json"</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># Get the metadata</span></span></span>
|
<span class="r-in"><span><span class="co"># Get the metadata</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">metadata</span> <span class="op"><-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
|
<span class="r-in"><span><span class="va">metadata</span> <span class="op"><-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
|
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
|
||||||
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
|
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
|
||||||
<span class="r-in"><span> content <span class="op">=</span> <span class="st">'metadata'</span>,</span></span>
|
<span class="r-in"><span> content <span class="op">=</span> <span class="st">"metadata"</span>,</span></span>
|
||||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">'json'</span></span></span>
|
<span class="r-in"><span> format <span class="op">=</span> <span class="st">"json"</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># Convert exported JSON strings into a list of data.frames</span></span></span>
|
<span class="r-in"><span><span class="co"># Convert exported JSON strings into a list of data.frames</span></span></span>
|
||||||
@ -149,7 +149,8 @@ instruments only or for all forms.</p></dd>
|
|||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># Get the metadata</span></span></span>
|
<span class="r-in"><span><span class="co"># Get the metadata</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">metadata</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/utils/read.table.html" class="external-link">read.csv</a></span><span class="op">(</span></span></span>
|
<span class="r-in"><span><span class="va">metadata</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/utils/read.table.html" class="external-link">read.csv</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span><span class="st">"/path/to/data/ExampleProject_DataDictionary_2018-06-03.csv"</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="st">"/path/to/data/ExampleProject_DataDictionary_2018-06-03.csv"</span></span></span>
|
||||||
|
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># Split the tables</span></span></span>
|
<span class="r-in"><span><span class="co"># Split the tables</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">REDCapRITS</span><span class="fu">::</span><span class="fu">REDCap_split</span><span class="op">(</span><span class="va">records</span>, <span class="va">metadata</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">REDCapRITS</span><span class="fu">::</span><span class="fu">REDCap_split</span><span class="op">(</span><span class="va">records</span>, <span class="va">metadata</span><span class="op">)</span></span></span>
|
||||||
|
@ -116,8 +116,8 @@ data set (imported .dta file with `haven::read_dta()`. Default is "label"</p></d
|
|||||||
<dt>field.validation</dt>
|
<dt>field.validation</dt>
|
||||||
<dd><p>manually specify field validation(s). Vector of
|
<dd><p>manually specify field validation(s). Vector of
|
||||||
length 1 or ncol(data). Default is NULL and `levels()` are used for factors
|
length 1 or ncol(data). Default is NULL and `levels()` are used for factors
|
||||||
or attribute `factor.labels.attr` for haven_labelled data set (imported .dta file with
|
or attribute `factor.labels.attr` for haven_labelled data set (imported .dta
|
||||||
`haven::read_dta()`).</p></dd>
|
file with `haven::read_dta()`).</p></dd>
|
||||||
|
|
||||||
|
|
||||||
<dt>metadata</dt>
|
<dt>metadata</dt>
|
||||||
|
@ -106,7 +106,9 @@ has to be converted to character class before REDCap upload.</p>
|
|||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op"><-</span> <span class="va">redcapcast_data</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op"><-</span> <span class="va">redcapcast_data</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span> <span class="fu">guess_time_only_filter</span><span class="op">(</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span> <span class="fu">guess_time_only_filter</span><span class="op">(</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "inclusion_time"</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] "inclusion_time"</span>
|
||||||
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span> <span class="fu">guess_time_only_filter</span><span class="op">(</span>validate <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="va">head</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span></span></span>
|
||||||
|
<span class="r-in"><span> <span class="fu">guess_time_only_filter</span><span class="op">(</span>validate <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|></span></span></span>
|
||||||
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="va">head</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> $is.POSIX</span>
|
<span class="r-out co"><span class="r-pr">#></span> $is.POSIX</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 6 × 2</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 6 × 2</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> inclusion_time event_datetime </span>
|
<span class="r-out co"><span class="r-pr">#></span> inclusion_time event_datetime </span>
|
||||||
|
@ -156,7 +156,8 @@
|
|||||||
|
|
||||||
<code><a href="read_redcap_instrument.html">read_redcap_instrument()</a></code>
|
<code><a href="read_redcap_instrument.html">read_redcap_instrument()</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>Convenience function to download complete instrument, using token storage in keyring.</dd>
|
<dd>Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring.</dd>
|
||||||
</dl><dl><dt>
|
</dl><dl><dt>
|
||||||
|
|
||||||
<code><a href="read_redcap_tables.html">read_redcap_tables()</a></code>
|
<code><a href="read_redcap_tables.html">read_redcap_tables()</a></code>
|
||||||
@ -206,8 +207,7 @@
|
|||||||
|
|
||||||
<code><a href="time_only_correction.html">time_only_correction()</a></code>
|
<code><a href="time_only_correction.html">time_only_correction()</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>Correction based on time_only_filter function. Introduces new class for easier
|
<dd>Correction based on time_only_filter function</dd>
|
||||||
validation labelling.</dd>
|
|
||||||
</dl><dl><dt>
|
</dl><dl><dt>
|
||||||
|
|
||||||
<code><a href="ui_factory.html">ui_factory()</a></code>
|
<code><a href="ui_factory.html">ui_factory()</a></code>
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
<!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"><meta name="description" content="Convenience function to download complete instrument, using token storage in keyring."><title>Convenience function to download complete instrument, using token storage in keyring. — read_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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Convenience function to download complete instrument, using token storage in keyring. — read_redcap_instrument"><meta property="og:description" content="Convenience function to download complete instrument, using token storage in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
<!-- 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"><meta name="description" content="Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring."><title>Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring. — read_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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring. — read_redcap_instrument"><meta property="og:description" content="Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
<![endif]--></head><body>
|
<![endif]--></head><body>
|
||||||
@ -48,13 +52,15 @@
|
|||||||
</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>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/HEAD/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/HEAD/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>
|
||||||
|
|
||||||
<div class="ref-description section level2">
|
<div class="ref-description section level2">
|
||||||
<p>Convenience function to download complete instrument, using token storage in keyring.</p>
|
<p>Convenience function to download complete instrument, using token storage
|
||||||
|
in keyring.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
@ -92,7 +98,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<dt>records</dt>
|
<dt>records</dt>
|
||||||
<dd><p>specify the records to download. Index numbers. Numeric vector.</p></dd>
|
<dd><p>specify the records to download. Index numbers.
|
||||||
|
Numeric vector.</p></dd>
|
||||||
|
|
||||||
</dl></div>
|
</dl></div>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
|
@ -93,47 +93,71 @@ Handles longitudinal projects, but not yet repeated instruments.</p>
|
|||||||
<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="co"># Longitudinal</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co"># Longitudinal</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">list1</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span><span class="va">list1</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>age <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="fl">25</span>,<span class="fl">26</span>,<span class="fl">27</span>,<span class="fl">28</span><span class="op">)</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> age <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="fl">25</span>, <span class="fl">26</span>, <span class="fl">27</span>, <span class="fl">28</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</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="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</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></span>
|
||||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list1</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list1</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> record_id age_baseline age_followup gender</span>
|
<span class="r-out co"><span class="r-pr">#></span> record_id age_baseline age_followup gender</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 27 male</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 27 male</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 28 female</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 28 female</span>
|
||||||
<span class="r-in"><span><span class="co"># Simpel with two instruments</span></span></span>
|
<span class="r-in"><span><span class="co"># Simpel with two instruments</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">list2</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span><span class="va">list2</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>age <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="fl">25</span>,<span class="fl">26</span><span class="op">)</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> age <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="fl">25</span>, <span class="fl">26</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="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</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></span>
|
||||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list2</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list2</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> record_id age gender</span>
|
<span class="r-out co"><span class="r-pr">#></span> record_id age gender</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 male</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 male</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 female</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 female</span>
|
||||||
<span class="r-in"><span><span class="co"># Simple with single instrument</span></span></span>
|
<span class="r-in"><span><span class="co"># Simple with single instrument</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">list3</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span><span class="va">list3</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>age <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="fl">25</span>,<span class="fl">26</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> age <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="fl">25</span>, <span class="fl">26</span><span class="op">)</span></span></span>
|
||||||
|
<span class="r-in"><span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list3</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list3</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> record_id age</span>
|
<span class="r-out co"><span class="r-pr">#></span> record_id age</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1 25</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 2 26</span>
|
||||||
<span class="r-in"><span><span class="co"># Longitudinal with repeatable instruments</span></span></span>
|
<span class="r-in"><span><span class="co"># Longitudinal with repeatable instruments</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">list4</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span><span class="va">list4</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>age <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="fl">25</span>,<span class="fl">26</span>,<span class="fl">27</span>,<span class="fl">28</span><span class="op">)</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">1</span>,<span class="fl">1</span>,<span class="fl">1</span>,<span class="fl">2</span>,<span class="fl">2</span>,<span class="fl">2</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span>,</span></span>
|
<span class="r-in"><span> age <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="fl">25</span>, <span class="fl">26</span>, <span class="fl">27</span>, <span class="fl">28</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span>redcap_repeat_instrument <span class="op">=</span> <span class="st">"walk"</span>,</span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span>redcap_repeat_instance<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="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">1</span>, <span class="fl">1</span>, <span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">2</span>, <span class="fl">2</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
<span class="r-in"><span>dist <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="fl">40</span>, <span class="fl">32</span>, <span class="fl">25</span>, <span class="fl">33</span>, <span class="fl">28</span>, <span class="fl">24</span>, <span class="fl">23</span>, <span class="fl">36</span><span class="op">)</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> redcap_event_name <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></span>
|
||||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span>,</span></span>
|
||||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
<span class="r-in"><span> <span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span></span></span>
|
||||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> redcap_repeat_instrument <span class="op">=</span> <span class="st">"walk"</span>,</span></span>
|
||||||
|
<span class="r-in"><span> redcap_repeat_instance <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="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> dist <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="fl">40</span>, <span class="fl">32</span>, <span class="fl">25</span>, <span class="fl">33</span>, <span class="fl">28</span>, <span class="fl">24</span>, <span class="fl">23</span>, <span class="fl">36</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="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
|
<span class="r-in"><span> record_id <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="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||||
|
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</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></span>
|
||||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list4</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list4</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||||
|
@ -80,14 +80,14 @@
|
|||||||
<dd><p>field_label, character</p></dd>
|
<dd><p>field_label, character</p></dd>
|
||||||
|
|
||||||
<dt>select_choices_or_calculations</dt>
|
<dt>select_choices_or_calculations</dt>
|
||||||
<dd><p>select_choices_or_calculations, character</p></dd>
|
<dd><p></p></dd>
|
||||||
|
select_choices_or_calculations, character
|
||||||
<dt>field_note</dt>
|
<dt>field_note</dt>
|
||||||
<dd><p>field_note, character</p></dd>
|
<dd><p>field_note, character</p></dd>
|
||||||
|
|
||||||
<dt>text_validation_type_or_show_slider_number</dt>
|
<dt>text_validation_type_or_show_slider_number</dt>
|
||||||
<dd><p>text_validation_type_or_show_slider_number, character</p></dd>
|
<dd><p></p></dd>
|
||||||
|
text_validation_type_or_show_slider_number, character
|
||||||
<dt>text_validation_min</dt>
|
<dt>text_validation_min</dt>
|
||||||
<dd><p>text_validation_min, character</p></dd>
|
<dd><p>text_validation_min, character</p></dd>
|
||||||
|
|
||||||
|
@ -96,7 +96,8 @@ easing the split around the defined delimiter, see example.</p>
|
|||||||
|
|
||||||
<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">test</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">"12 months follow-up"</span>, <span class="st">"3 steps"</span>, <span class="st">"mRS 6 weeks"</span>, <span class="st">"Counting to 231 now"</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">test</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">"12 months follow-up"</span>, <span class="st">"3 steps"</span>, <span class="st">"mRS 6 weeks"</span>,</span></span>
|
||||||
|
<span class="r-in"><span><span class="st">"Counting to 231 now"</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">strsplitx</span><span class="op">(</span><span class="va">test</span>, <span class="st">"[0-9]"</span>, type <span class="op">=</span> <span class="st">"around"</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">strsplitx</span><span class="op">(</span><span class="va">test</span>, <span class="st">"[0-9]"</span>, type <span class="op">=</span> <span class="st">"around"</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[1]]</span>
|
<span class="r-out co"><span class="r-pr">#></span> [[1]]</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "1" "2" " months follow-up"</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] "1" "2" " months follow-up"</span>
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
<!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"><meta name="description" content='Dependens on the data class "hms" introduced with
|
<!-- 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"><meta name="description" content="Correction based on time_only_filter function"><title>Correction based on time_only_filter function — time_only_correction • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Correction based on time_only_filter function — time_only_correction"><meta property="og:description" content="Correction based on time_only_filter function"><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||||
`guess_time_only_filter()` and converts these'><title>Correction based on time_only_filter function. Introduces new class for easier
|
|
||||||
validation labelling. — time_only_correction • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Correction based on time_only_filter function. Introduces new class for easier
|
|
||||||
validation labelling. — time_only_correction"><meta property="og:description" content='Dependens on the data class "hms" introduced with
|
|
||||||
`guess_time_only_filter()` and converts these'><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
<![endif]--></head><body>
|
<![endif]--></head><body>
|
||||||
@ -52,15 +48,13 @@ validation labelling. — time_only_correction"><meta property="og:description"
|
|||||||
</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>Correction based on time_only_filter function. Introduces new class for easier
|
<img src="../logo.png" class="logo" alt=""><h1>Correction based on time_only_filter function</h1>
|
||||||
validation labelling.</h1>
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/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/HEAD/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>
|
||||||
|
|
||||||
<div class="ref-description section level2">
|
<div class="ref-description section level2">
|
||||||
<p>Dependens on the data class "hms" introduced with
|
<p>Correction based on time_only_filter function</p>
|
||||||
`guess_time_only_filter()` and converts these</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user