mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@e6a7ef3e5a 🚀
This commit is contained in:
parent
9bdac4614c
commit
75bb5f4091
18 changed files with 628 additions and 257 deletions
|
|
@ -98,23 +98,23 @@ demonstration of the functions.</p>
|
|||
</h2>
|
||||
<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>
|
||||
<div id="sixickflnc" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#sixickflnc table {
|
||||
<div id="qnwlqnjgsh" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#qnwlqnjgsh table {
|
||||
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;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#sixickflnc thead, #sixickflnc tbody, #sixickflnc tfoot, #sixickflnc tr, #sixickflnc td, #sixickflnc th {
|
||||
#qnwlqnjgsh thead, #qnwlqnjgsh tbody, #qnwlqnjgsh tfoot, #qnwlqnjgsh tr, #qnwlqnjgsh td, #qnwlqnjgsh th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#sixickflnc p {
|
||||
#qnwlqnjgsh p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_table {
|
||||
#qnwlqnjgsh .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
|
|
@ -140,12 +140,12 @@ demonstration of the functions.</p>
|
|||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_caption {
|
||||
#qnwlqnjgsh .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_title {
|
||||
#qnwlqnjgsh .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
|
|
@ -157,7 +157,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_subtitle {
|
||||
#qnwlqnjgsh .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
|
|
@ -169,7 +169,7 @@ demonstration of the functions.</p>
|
|||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_heading {
|
||||
#qnwlqnjgsh .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
|
|
@ -181,13 +181,13 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_bottom_border {
|
||||
#qnwlqnjgsh .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_col_headings {
|
||||
#qnwlqnjgsh .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
|
|
@ -202,7 +202,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_col_heading {
|
||||
#qnwlqnjgsh .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -222,7 +222,7 @@ demonstration of the functions.</p>
|
|||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_column_spanner_outer {
|
||||
#qnwlqnjgsh .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -234,15 +234,15 @@ demonstration of the functions.</p>
|
|||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_column_spanner_outer:first-child {
|
||||
#qnwlqnjgsh .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_column_spanner_outer:last-child {
|
||||
#qnwlqnjgsh .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_column_spanner {
|
||||
#qnwlqnjgsh .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
|
|
@ -254,11 +254,11 @@ demonstration of the functions.</p>
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_spanner_row {
|
||||
#qnwlqnjgsh .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_group_heading {
|
||||
#qnwlqnjgsh .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -284,7 +284,7 @@ demonstration of the functions.</p>
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_empty_group_heading {
|
||||
#qnwlqnjgsh .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
|
|
@ -299,15 +299,15 @@ demonstration of the functions.</p>
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_from_md > :first-child {
|
||||
#qnwlqnjgsh .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_from_md > :last-child {
|
||||
#qnwlqnjgsh .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_row {
|
||||
#qnwlqnjgsh .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -326,7 +326,7 @@ demonstration of the functions.</p>
|
|||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_stub {
|
||||
#qnwlqnjgsh .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -339,7 +339,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_stub_row_group {
|
||||
#qnwlqnjgsh .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -353,15 +353,15 @@ demonstration of the functions.</p>
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_row_group_first td {
|
||||
#qnwlqnjgsh .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_row_group_first th {
|
||||
#qnwlqnjgsh .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_summary_row {
|
||||
#qnwlqnjgsh .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
|
|
@ -371,16 +371,16 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_first_summary_row {
|
||||
#qnwlqnjgsh .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_first_summary_row.thick {
|
||||
#qnwlqnjgsh .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_last_summary_row {
|
||||
#qnwlqnjgsh .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -390,7 +390,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_grand_summary_row {
|
||||
#qnwlqnjgsh .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
|
|
@ -400,7 +400,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_first_grand_summary_row {
|
||||
#qnwlqnjgsh .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -410,7 +410,7 @@ demonstration of the functions.</p>
|
|||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_last_grand_summary_row_top {
|
||||
#qnwlqnjgsh .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -420,11 +420,11 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_striped {
|
||||
#qnwlqnjgsh .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#sixickflnc .gt_table_body {
|
||||
#qnwlqnjgsh .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
|
|
@ -433,7 +433,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_footnotes {
|
||||
#qnwlqnjgsh .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
|
|
@ -447,7 +447,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_footnote {
|
||||
#qnwlqnjgsh .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
|
|
@ -456,7 +456,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_sourcenotes {
|
||||
#qnwlqnjgsh .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
|
|
@ -470,7 +470,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_sourcenote {
|
||||
#qnwlqnjgsh .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
|
|
@ -478,63 +478,63 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_left {
|
||||
#qnwlqnjgsh .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_center {
|
||||
#qnwlqnjgsh .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_right {
|
||||
#qnwlqnjgsh .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_font_normal {
|
||||
#qnwlqnjgsh .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_font_bold {
|
||||
#qnwlqnjgsh .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_font_italic {
|
||||
#qnwlqnjgsh .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_super {
|
||||
#qnwlqnjgsh .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_footnote_marks {
|
||||
#qnwlqnjgsh .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_asterisk {
|
||||
#qnwlqnjgsh .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_indent_1 {
|
||||
#qnwlqnjgsh .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_indent_2 {
|
||||
#qnwlqnjgsh .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_indent_3 {
|
||||
#qnwlqnjgsh .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_indent_4 {
|
||||
#qnwlqnjgsh .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#sixickflnc .gt_indent_5 {
|
||||
#qnwlqnjgsh .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -561,6 +561,7 @@ demonstration of the functions.</p>
|
|||
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="mrs_score">mrs_score</th>
|
||||
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="mrs_complete">mrs_complete</th>
|
||||
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="event_datetime">event_datetime</th>
|
||||
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="event_age">event_age</th>
|
||||
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="event_type">event_type</th>
|
||||
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="new_event_complete">new_event_complete</th>
|
||||
</tr></thead>
|
||||
|
|
@ -587,6 +588,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -612,6 +614,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -637,6 +640,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">3</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -662,6 +666,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:49:42</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">TIA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -687,6 +692,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -712,6 +718,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">2</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -737,6 +744,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -762,6 +770,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:49:58</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -787,6 +796,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:01</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -812,6 +822,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:05</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -837,6 +848,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:07</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">TIA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -862,6 +874,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:09</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -887,6 +900,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -912,6 +926,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -937,6 +952,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:19</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Complete</td>
|
||||
</tr>
|
||||
|
|
@ -962,6 +978,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:22</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Incomplete</td>
|
||||
</tr>
|
||||
|
|
@ -987,6 +1004,7 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">2024-01-18 12:50:24</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">Unknown</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">Complete</td>
|
||||
</tr>
|
||||
|
|
@ -1012,6 +1030,33 @@ demonstration of the functions.</p>
|
|||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td headers="record_id" class="gt_row gt_right">6</td>
|
||||
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
||||
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
||||
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
||||
<td headers="cpr" class="gt_row gt_left">1202320122</td>
|
||||
<td headers="inclusion" class="gt_row gt_right">2024-01-25</td>
|
||||
<td headers="inclusion_time" class="gt_row gt_center">08:49:28</td>
|
||||
<td headers="dob" class="gt_row gt_right">1932-02-12</td>
|
||||
<td headers="age" class="gt_row gt_right">91.95261</td>
|
||||
<td headers="age_integer" class="gt_row gt_right">91</td>
|
||||
<td headers="sex" class="gt_row gt_left">female</td>
|
||||
<td headers="cohabitation" class="gt_row gt_left">No</td>
|
||||
<td headers="hypertension" class="gt_row gt_left">Yes</td>
|
||||
<td headers="diabetes" class="gt_row gt_left">No</td>
|
||||
<td headers="region" class="gt_row gt_left">East</td>
|
||||
<td headers="baseline_data_start_complete" class="gt_row gt_left">Complete</td>
|
||||
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
||||
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
||||
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
||||
<td headers="event_datetime" class="gt_row gt_right">NA</td>
|
||||
<td headers="event_age" class="gt_row gt_center">NA</td>
|
||||
<td headers="event_type" class="gt_row gt_left">NA</td>
|
||||
<td headers="new_event_complete" class="gt_row gt_left">NA</td>
|
||||
</tr>
|
||||
|
|
@ -1020,23 +1065,23 @@ demonstration of the functions.</p>
|
|||
</div>
|
||||
<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>
|
||||
<div id="lpuybuuknr" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#lpuybuuknr table {
|
||||
<div id="azsgiyvwga" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#azsgiyvwga table {
|
||||
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;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#lpuybuuknr thead, #lpuybuuknr tbody, #lpuybuuknr tfoot, #lpuybuuknr tr, #lpuybuuknr td, #lpuybuuknr th {
|
||||
#azsgiyvwga thead, #azsgiyvwga tbody, #azsgiyvwga tfoot, #azsgiyvwga tr, #azsgiyvwga td, #azsgiyvwga th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#lpuybuuknr p {
|
||||
#azsgiyvwga p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_table {
|
||||
#azsgiyvwga .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
|
|
@ -1062,12 +1107,12 @@ demonstration of the functions.</p>
|
|||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_caption {
|
||||
#azsgiyvwga .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_title {
|
||||
#azsgiyvwga .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
|
|
@ -1079,7 +1124,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_subtitle {
|
||||
#azsgiyvwga .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
|
|
@ -1091,7 +1136,7 @@ demonstration of the functions.</p>
|
|||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_heading {
|
||||
#azsgiyvwga .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
|
|
@ -1103,13 +1148,13 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_bottom_border {
|
||||
#azsgiyvwga .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_col_headings {
|
||||
#azsgiyvwga .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
|
|
@ -1124,7 +1169,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_col_heading {
|
||||
#azsgiyvwga .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -1144,7 +1189,7 @@ demonstration of the functions.</p>
|
|||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_column_spanner_outer {
|
||||
#azsgiyvwga .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -1156,15 +1201,15 @@ demonstration of the functions.</p>
|
|||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_column_spanner_outer:first-child {
|
||||
#azsgiyvwga .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_column_spanner_outer:last-child {
|
||||
#azsgiyvwga .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_column_spanner {
|
||||
#azsgiyvwga .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
|
|
@ -1176,11 +1221,11 @@ demonstration of the functions.</p>
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_spanner_row {
|
||||
#azsgiyvwga .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_group_heading {
|
||||
#azsgiyvwga .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -1206,7 +1251,7 @@ demonstration of the functions.</p>
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_empty_group_heading {
|
||||
#azsgiyvwga .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
|
|
@ -1221,15 +1266,15 @@ demonstration of the functions.</p>
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_from_md > :first-child {
|
||||
#azsgiyvwga .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_from_md > :last-child {
|
||||
#azsgiyvwga .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_row {
|
||||
#azsgiyvwga .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -1248,7 +1293,7 @@ demonstration of the functions.</p>
|
|||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_stub {
|
||||
#azsgiyvwga .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -1261,7 +1306,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_stub_row_group {
|
||||
#azsgiyvwga .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
|
|
@ -1275,15 +1320,15 @@ demonstration of the functions.</p>
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_row_group_first td {
|
||||
#azsgiyvwga .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_row_group_first th {
|
||||
#azsgiyvwga .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_summary_row {
|
||||
#azsgiyvwga .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
|
|
@ -1293,16 +1338,16 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_first_summary_row {
|
||||
#azsgiyvwga .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_first_summary_row.thick {
|
||||
#azsgiyvwga .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_last_summary_row {
|
||||
#azsgiyvwga .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -1312,7 +1357,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_grand_summary_row {
|
||||
#azsgiyvwga .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
|
|
@ -1322,7 +1367,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_first_grand_summary_row {
|
||||
#azsgiyvwga .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -1332,7 +1377,7 @@ demonstration of the functions.</p>
|
|||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_last_grand_summary_row_top {
|
||||
#azsgiyvwga .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
|
|
@ -1342,11 +1387,11 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_striped {
|
||||
#azsgiyvwga .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_table_body {
|
||||
#azsgiyvwga .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
|
|
@ -1355,7 +1400,7 @@ demonstration of the functions.</p>
|
|||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_footnotes {
|
||||
#azsgiyvwga .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
|
|
@ -1369,7 +1414,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_footnote {
|
||||
#azsgiyvwga .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
|
|
@ -1378,7 +1423,7 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_sourcenotes {
|
||||
#azsgiyvwga .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
|
|
@ -1392,7 +1437,7 @@ demonstration of the functions.</p>
|
|||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_sourcenote {
|
||||
#azsgiyvwga .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
|
|
@ -1400,63 +1445,63 @@ demonstration of the functions.</p>
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_left {
|
||||
#azsgiyvwga .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_center {
|
||||
#azsgiyvwga .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_right {
|
||||
#azsgiyvwga .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_font_normal {
|
||||
#azsgiyvwga .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_font_bold {
|
||||
#azsgiyvwga .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_font_italic {
|
||||
#azsgiyvwga .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_super {
|
||||
#azsgiyvwga .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_footnote_marks {
|
||||
#azsgiyvwga .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_asterisk {
|
||||
#azsgiyvwga .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_indent_1 {
|
||||
#azsgiyvwga .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_indent_2 {
|
||||
#azsgiyvwga .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_indent_3 {
|
||||
#azsgiyvwga .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_indent_4 {
|
||||
#azsgiyvwga .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#lpuybuuknr .gt_indent_5 {
|
||||
#azsgiyvwga .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1811,28 +1856,28 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
|||
<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> 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>
|
||||
<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><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">#> $ :'data.frame': 9 obs. of 17 variables:</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
||||
<span><span class="co">#> ..$ cpr : chr [1:9] "1203401OB4" "0102342303" NA "2301569823" ...</span></span>
|
||||
<span><span class="co">#> ..$ inclusion : Date[1:9], format: "2023-03-13" "2023-03-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ dob : Date[1:9], format: "1940-03-12" "1934-02-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ age : num [1:9] 83 89.1 NA 66.1 NA ...</span></span>
|
||||
<span><span class="co">#> ..$ age_integer : num [1:9] 83 89 NA 66 NA NA 117 NA 126</span></span>
|
||||
<span><span class="co">#> ..$ sex : chr [1:9] "female" "male" NA "male" ...</span></span>
|
||||
<span><span class="co">#> ..$ cohabitation : chr [1:9] "Yes" "Yes" NA "No" ...</span></span>
|
||||
<span><span class="co">#> ..$ hypertension : chr [1:9] "No" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ diabetes : chr [1:9] "Yes" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ region : chr [1:9] "East" "South" NA "North" ...</span></span>
|
||||
<span><span class="co">#> ..$ baseline_data_start_complete: chr [1:9] "Incomplete" "Incomplete" NA "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_assessed : chr [1:9] "Yes" "Yes" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_date : Date[1:9], format: "2023-03-13" "2023-03-07" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_score : num [1:9] 1 1 3 NA 2 1 NA NA NA</span></span>
|
||||
<span><span class="co">#> ..$ mrs_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ new_event:'data.frame': 9 obs. of 6 variables:</span></span>
|
||||
<span><span class="co">#> $ : tibble [10 × 17] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:10] 1 2 2 3 3 3 4 4 5 6</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:10] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
||||
<span><span class="co">#> ..$ cpr : chr [1:10] "1203401OB4" "0102342303" NA "2301569823" ...</span></span>
|
||||
<span><span class="co">#> ..$ inclusion : Date[1:10], format: "2023-03-13" "2023-03-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ dob : Date[1:10], format: "1940-03-12" "1934-02-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ age : num [1:10] 83 89.1 NA 66.1 NA ...</span></span>
|
||||
<span><span class="co">#> ..$ age_integer : num [1:10] 83 89 NA 66 NA NA 117 NA 126 91</span></span>
|
||||
<span><span class="co">#> ..$ sex : chr [1:10] "female" "male" NA "male" ...</span></span>
|
||||
<span><span class="co">#> ..$ cohabitation : chr [1:10] "Yes" "Yes" NA "No" ...</span></span>
|
||||
<span><span class="co">#> ..$ hypertension : chr [1:10] "No" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ diabetes : chr [1:10] "Yes" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ region : chr [1:10] "East" "South" NA "North" ...</span></span>
|
||||
<span><span class="co">#> ..$ baseline_data_start_complete: chr [1:10] "Incomplete" "Incomplete" NA "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_assessed : chr [1:10] "Yes" "Yes" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_date : Date[1:10], format: "2023-03-13" "2023-03-07" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_score : num [1:10] 1 1 3 NA 2 1 NA NA NA NA</span></span>
|
||||
<span><span class="co">#> ..$ mrs_complete : chr [1:10] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ new_event: tibble [9 × 6] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:9] 2 3 3 3 3 3 4 4 4</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "follow1" "follow1" "follow1" "follow2" ...</span></span>
|
||||
<span><span class="co">#> ..$ redcap_repeat_instrument: chr [1:9] "new_event" "new_event" "new_event" "new_event" ...</span></span>
|
||||
|
|
@ -1843,31 +1888,31 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
|||
<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> 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>
|
||||
<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><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">#> $ baseline_data_start:'data.frame': 9 obs. of 13 variables:</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
||||
<span><span class="co">#> ..$ cpr : chr [1:9] "1203401OB4" "0102342303" NA "2301569823" ...</span></span>
|
||||
<span><span class="co">#> ..$ inclusion : Date[1:9], format: "2023-03-13" "2023-03-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ dob : Date[1:9], format: "1940-03-12" "1934-02-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ age : num [1:9] 83 89.1 NA 66.1 NA ...</span></span>
|
||||
<span><span class="co">#> ..$ age_integer : num [1:9] 83 89 NA 66 NA NA 117 NA 126</span></span>
|
||||
<span><span class="co">#> ..$ sex : chr [1:9] "female" "male" NA "male" ...</span></span>
|
||||
<span><span class="co">#> ..$ cohabitation : chr [1:9] "Yes" "Yes" NA "No" ...</span></span>
|
||||
<span><span class="co">#> ..$ hypertension : chr [1:9] "No" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ diabetes : chr [1:9] "Yes" "No" NA "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ region : chr [1:9] "East" "South" NA "North" ...</span></span>
|
||||
<span><span class="co">#> ..$ baseline_data_start_complete: chr [1:9] "Incomplete" "Incomplete" NA "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ mrs :'data.frame': 9 obs. of 6 variables:</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name: chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_assessed : chr [1:9] "Yes" "Yes" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_date : Date[1:9], format: "2023-03-13" "2023-03-07" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_score : num [1:9] 1 1 3 NA 2 1 NA NA NA</span></span>
|
||||
<span><span class="co">#> ..$ mrs_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ new_event :'data.frame': 9 obs. of 6 variables:</span></span>
|
||||
<span><span class="co">#> $ baseline_data_start: tibble [6 × 13] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:6] 1 2 3 4 5 6</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:6] "inclusion" "inclusion" "inclusion" "inclusion" ...</span></span>
|
||||
<span><span class="co">#> ..$ cpr : chr [1:6] "1203401OB4" "0102342303" "2301569823" "0204051342" ...</span></span>
|
||||
<span><span class="co">#> ..$ inclusion : Date[1:6], format: "2023-03-13" "2023-03-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ dob : Date[1:6], format: "1940-03-12" "1934-02-01" ...</span></span>
|
||||
<span><span class="co">#> ..$ age : num [1:6] 83 89.1 66.1 117.9 126.2 ...</span></span>
|
||||
<span><span class="co">#> ..$ age_integer : num [1:6] 83 89 66 117 126 91</span></span>
|
||||
<span><span class="co">#> ..$ sex : chr [1:6] "female" "male" "male" "female" ...</span></span>
|
||||
<span><span class="co">#> ..$ cohabitation : chr [1:6] "Yes" "Yes" "No" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ hypertension : chr [1:6] "No" "No" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ diabetes : chr [1:6] "Yes" "No" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ region : chr [1:6] "East" "South" "North" NA ...</span></span>
|
||||
<span><span class="co">#> ..$ baseline_data_start_complete: chr [1:6] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ mrs : tibble [5 × 6] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:5] 1 2 2 3 3</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name: chr [1:5] "inclusion" "inclusion" "follow1" "follow1" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_assessed : chr [1:5] "Yes" "Yes" "Yes" "Yes" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_date : Date[1:5], format: "2023-03-13" "2023-03-07" ...</span></span>
|
||||
<span><span class="co">#> ..$ mrs_score : num [1:5] 1 1 3 2 1</span></span>
|
||||
<span><span class="co">#> ..$ mrs_complete : chr [1:5] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ new_event : tibble [9 × 6] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
<span><span class="co">#> ..$ record_id : num [1:9] 2 3 3 3 3 3 4 4 4</span></span>
|
||||
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "follow1" "follow1" "follow1" "follow2" ...</span></span>
|
||||
<span><span class="co">#> ..$ redcap_repeat_instrument: chr [1:9] "new_event" "new_event" "new_event" "new_event" ...</span></span>
|
||||
|
|
@ -1894,7 +1939,46 @@ approach.</p>
|
|||
<h2 id="pivotting-to-wider-format">Pivotting to wider format<a class="anchor" aria-label="anchor" href="#pivotting-to-wider-format"></a>
|
||||
</h2>
|
||||
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="co"># redcap_wider(ds)</span></span></code></pre></div>
|
||||
<code class="sourceCode R"><span><span class="fu"><a href="../reference/redcap_wider.html">redcap_wider</a></span><span class="op">(</span><span class="va">list</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>
|
||||
<span><span class="co">#> Joining with `by = join_by(record_id)`</span></span>
|
||||
<span><span class="co">#> Joining with `by = join_by(record_id)`</span></span>
|
||||
<span><span class="co">#> 'data.frame': 6 obs. of 36 variables:</span></span>
|
||||
<span><span class="co">#> $ record_id : num 1 2 3 4 5 6</span></span>
|
||||
<span><span class="co">#> $ cpr : chr "1203401OB4" "0102342303" "2301569823" "0204051342" ...</span></span>
|
||||
<span><span class="co">#> $ inclusion : Date, format: "2023-03-13" "2023-03-01" ...</span></span>
|
||||
<span><span class="co">#> $ dob : Date, format: "1940-03-12" "1934-02-01" ...</span></span>
|
||||
<span><span class="co">#> $ age : num 83 89.1 66.1 117.9 126.2 ...</span></span>
|
||||
<span><span class="co">#> $ age_integer : num 83 89 66 117 126 91</span></span>
|
||||
<span><span class="co">#> $ sex : chr "female" "male" "male" "female" ...</span></span>
|
||||
<span><span class="co">#> $ cohabitation : chr "Yes" "Yes" "No" NA ...</span></span>
|
||||
<span><span class="co">#> $ hypertension : chr "No" "No" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> $ diabetes : chr "Yes" "No" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> $ region : chr "East" "South" "North" NA ...</span></span>
|
||||
<span><span class="co">#> $ baseline_data_start_complete: chr "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ mrs_assessed_inclusion : chr "Yes" "Yes" NA NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_assessed_follow1 : chr NA "Yes" "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_assessed_follow2 : chr NA NA "Yes" NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_date_inclusion : Date, format: "2023-03-13" "2023-03-07" ...</span></span>
|
||||
<span><span class="co">#> $ mrs_date_follow1 : Date, format: NA "2023-03-09" ...</span></span>
|
||||
<span><span class="co">#> $ mrs_date_follow2 : Date, format: NA NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_score_inclusion : num 1 1 NA NA NA NA</span></span>
|
||||
<span><span class="co">#> $ mrs_score_follow1 : num NA 3 2 NA NA NA</span></span>
|
||||
<span><span class="co">#> $ mrs_score_follow2 : num NA NA 1 NA NA NA</span></span>
|
||||
<span><span class="co">#> $ mrs_complete_inclusion : chr "Incomplete" "Incomplete" NA NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_complete_follow1 : chr NA "Incomplete" "Incomplete" NA ...</span></span>
|
||||
<span><span class="co">#> $ mrs_complete_follow2 : chr NA NA "Incomplete" NA ...</span></span>
|
||||
<span><span class="co">#> $ event_type_1_follow1 : chr NA "TIA" "AIS" NA ...</span></span>
|
||||
<span><span class="co">#> $ event_type_1_follow2 : chr NA NA "ICH" "AIS" ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_1_follow1: chr NA "Incomplete" "Incomplete" NA ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_1_follow2: chr NA NA "Incomplete" "Complete" ...</span></span>
|
||||
<span><span class="co">#> $ event_type_2_follow1 : chr NA NA "ICH" NA ...</span></span>
|
||||
<span><span class="co">#> $ event_type_2_follow2 : chr NA NA "TIA" "ICH" ...</span></span>
|
||||
<span><span class="co">#> $ event_type_3_follow1 : chr NA NA NA NA ...</span></span>
|
||||
<span><span class="co">#> $ event_type_3_follow2 : chr NA NA "AIS" "Unknown" ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_2_follow1: chr NA NA "Incomplete" NA ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_2_follow2: chr NA NA "Incomplete" "Incomplete" ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_3_follow1: chr NA NA NA NA ...</span></span>
|
||||
<span><span class="co">#> $ new_event_complete_3_follow2: chr NA NA "Incomplete" "Complete" ...</span></span></code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
</nav></aside>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue