mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-22 21:40:23 +01:00
Compare commits
No commits in common. "afcb1a8c575d6203ed313a37d77416e94748eb8a" and "fba606612565b5ca92d3143d08aac5e67cb5cf40" have entirely different histories.
afcb1a8c57
...
fba6066125
2
404.html
2
404.html
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="https://agdamsbo.github.io/REDCapCAST/index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="https://agdamsbo.github.io/REDCapCAST/index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -98,23 +98,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="arplbkvxqr" 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="roqtbcohfc" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||||
<style>#arplbkvxqr table {
|
<style>#roqtbcohfc 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr thead, #arplbkvxqr tbody, #arplbkvxqr tfoot, #arplbkvxqr tr, #arplbkvxqr td, #arplbkvxqr th {
|
#roqtbcohfc thead, #roqtbcohfc tbody, #roqtbcohfc tfoot, #roqtbcohfc tr, #roqtbcohfc td, #roqtbcohfc th {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr p {
|
#roqtbcohfc p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_table {
|
#roqtbcohfc .gt_table {
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -140,12 +140,12 @@ demonstration of the functions.</p>
|
|||||||
border-left-color: #D3D3D3;
|
border-left-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_caption {
|
#roqtbcohfc .gt_caption {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_title {
|
#roqtbcohfc .gt_title {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -157,7 +157,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_subtitle {
|
#roqtbcohfc .gt_subtitle {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -169,7 +169,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_heading {
|
#roqtbcohfc .gt_heading {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom-color: #FFFFFF;
|
border-bottom-color: #FFFFFF;
|
||||||
@ -181,13 +181,13 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_bottom_border {
|
#roqtbcohfc .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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_col_headings {
|
#roqtbcohfc .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;
|
||||||
@ -202,7 +202,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_col_heading {
|
#roqtbcohfc .gt_col_heading {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -222,7 +222,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_column_spanner_outer {
|
#roqtbcohfc .gt_column_spanner_outer {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -234,15 +234,15 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_column_spanner_outer:first-child {
|
#roqtbcohfc .gt_column_spanner_outer:first-child {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_column_spanner_outer:last-child {
|
#roqtbcohfc .gt_column_spanner_outer:last-child {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_column_spanner {
|
#roqtbcohfc .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;
|
||||||
@ -254,11 +254,11 @@ demonstration of the functions.</p>
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_spanner_row {
|
#roqtbcohfc .gt_spanner_row {
|
||||||
border-bottom-style: hidden;
|
border-bottom-style: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_group_heading {
|
#roqtbcohfc .gt_group_heading {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -284,7 +284,7 @@ demonstration of the functions.</p>
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_empty_group_heading {
|
#roqtbcohfc .gt_empty_group_heading {
|
||||||
padding: 0.5px;
|
padding: 0.5px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
@ -299,15 +299,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_from_md > :first-child {
|
#roqtbcohfc .gt_from_md > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_from_md > :last-child {
|
#roqtbcohfc .gt_from_md > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_row {
|
#roqtbcohfc .gt_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -326,7 +326,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_stub {
|
#roqtbcohfc .gt_stub {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -339,7 +339,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_stub_row_group {
|
#roqtbcohfc .gt_stub_row_group {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -353,15 +353,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_row_group_first td {
|
#roqtbcohfc .gt_row_group_first td {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_row_group_first th {
|
#roqtbcohfc .gt_row_group_first th {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_summary_row {
|
#roqtbcohfc .gt_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -371,16 +371,16 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_first_summary_row {
|
#roqtbcohfc .gt_first_summary_row {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_first_summary_row.thick {
|
#roqtbcohfc .gt_first_summary_row.thick {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_last_summary_row {
|
#roqtbcohfc .gt_last_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -390,7 +390,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_grand_summary_row {
|
#roqtbcohfc .gt_grand_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -400,7 +400,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_first_grand_summary_row {
|
#roqtbcohfc .gt_first_grand_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -410,7 +410,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_last_grand_summary_row_top {
|
#roqtbcohfc .gt_last_grand_summary_row_top {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -420,11 +420,11 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_striped {
|
#roqtbcohfc .gt_striped {
|
||||||
background-color: rgba(128, 128, 128, 0.05);
|
background-color: rgba(128, 128, 128, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_table_body {
|
#roqtbcohfc .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;
|
||||||
@ -433,7 +433,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_footnotes {
|
#roqtbcohfc .gt_footnotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -447,7 +447,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_footnote {
|
#roqtbcohfc .gt_footnote {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
@ -456,7 +456,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_sourcenotes {
|
#roqtbcohfc .gt_sourcenotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -470,7 +470,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_sourcenote {
|
#roqtbcohfc .gt_sourcenote {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -478,63 +478,63 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_left {
|
#roqtbcohfc .gt_left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_center {
|
#roqtbcohfc .gt_center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_right {
|
#roqtbcohfc .gt_right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_font_normal {
|
#roqtbcohfc .gt_font_normal {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_font_bold {
|
#roqtbcohfc .gt_font_bold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_font_italic {
|
#roqtbcohfc .gt_font_italic {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_super {
|
#roqtbcohfc .gt_super {
|
||||||
font-size: 65%;
|
font-size: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_footnote_marks {
|
#roqtbcohfc .gt_footnote_marks {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
vertical-align: 0.4em;
|
vertical-align: 0.4em;
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_asterisk {
|
#roqtbcohfc .gt_asterisk {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: 0;
|
vertical-align: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_indent_1 {
|
#roqtbcohfc .gt_indent_1 {
|
||||||
text-indent: 5px;
|
text-indent: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_indent_2 {
|
#roqtbcohfc .gt_indent_2 {
|
||||||
text-indent: 10px;
|
text-indent: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_indent_3 {
|
#roqtbcohfc .gt_indent_3 {
|
||||||
text-indent: 15px;
|
text-indent: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_indent_4 {
|
#roqtbcohfc .gt_indent_4 {
|
||||||
text-indent: 20px;
|
text-indent: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#arplbkvxqr .gt_indent_5 {
|
#roqtbcohfc .gt_indent_5 {
|
||||||
text-indent: 25px;
|
text-indent: 25px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1001,23 +1001,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="rdpjzwjcvc" 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="ptmfvbkogm" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||||
<style>#rdpjzwjcvc table {
|
<style>#ptmfvbkogm 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc thead, #rdpjzwjcvc tbody, #rdpjzwjcvc tfoot, #rdpjzwjcvc tr, #rdpjzwjcvc td, #rdpjzwjcvc th {
|
#ptmfvbkogm thead, #ptmfvbkogm tbody, #ptmfvbkogm tfoot, #ptmfvbkogm tr, #ptmfvbkogm td, #ptmfvbkogm th {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc p {
|
#ptmfvbkogm p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_table {
|
#ptmfvbkogm .gt_table {
|
||||||
display: table;
|
display: table;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
@ -1043,12 +1043,12 @@ demonstration of the functions.</p>
|
|||||||
border-left-color: #D3D3D3;
|
border-left-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_caption {
|
#ptmfvbkogm .gt_caption {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_title {
|
#ptmfvbkogm .gt_title {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -1060,7 +1060,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_subtitle {
|
#ptmfvbkogm .gt_subtitle {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
@ -1072,7 +1072,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_heading {
|
#ptmfvbkogm .gt_heading {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom-color: #FFFFFF;
|
border-bottom-color: #FFFFFF;
|
||||||
@ -1084,13 +1084,13 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_bottom_border {
|
#ptmfvbkogm .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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_col_headings {
|
#ptmfvbkogm .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;
|
||||||
@ -1105,7 +1105,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_col_heading {
|
#ptmfvbkogm .gt_col_heading {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1125,7 +1125,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_column_spanner_outer {
|
#ptmfvbkogm .gt_column_spanner_outer {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1137,15 +1137,15 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_column_spanner_outer:first-child {
|
#ptmfvbkogm .gt_column_spanner_outer:first-child {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_column_spanner_outer:last-child {
|
#ptmfvbkogm .gt_column_spanner_outer:last-child {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_column_spanner {
|
#ptmfvbkogm .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;
|
||||||
@ -1157,11 +1157,11 @@ demonstration of the functions.</p>
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_spanner_row {
|
#ptmfvbkogm .gt_spanner_row {
|
||||||
border-bottom-style: hidden;
|
border-bottom-style: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_group_heading {
|
#ptmfvbkogm .gt_group_heading {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1187,7 +1187,7 @@ demonstration of the functions.</p>
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_empty_group_heading {
|
#ptmfvbkogm .gt_empty_group_heading {
|
||||||
padding: 0.5px;
|
padding: 0.5px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
@ -1202,15 +1202,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_from_md > :first-child {
|
#ptmfvbkogm .gt_from_md > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_from_md > :last-child {
|
#ptmfvbkogm .gt_from_md > :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_row {
|
#ptmfvbkogm .gt_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1229,7 +1229,7 @@ demonstration of the functions.</p>
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_stub {
|
#ptmfvbkogm .gt_stub {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1242,7 +1242,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_stub_row_group {
|
#ptmfvbkogm .gt_stub_row_group {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
@ -1256,15 +1256,15 @@ demonstration of the functions.</p>
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_row_group_first td {
|
#ptmfvbkogm .gt_row_group_first td {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_row_group_first th {
|
#ptmfvbkogm .gt_row_group_first th {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_summary_row {
|
#ptmfvbkogm .gt_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -1274,16 +1274,16 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_first_summary_row {
|
#ptmfvbkogm .gt_first_summary_row {
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_first_summary_row.thick {
|
#ptmfvbkogm .gt_first_summary_row.thick {
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_last_summary_row {
|
#ptmfvbkogm .gt_last_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1293,7 +1293,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_grand_summary_row {
|
#ptmfvbkogm .gt_grand_summary_row {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
text-transform: inherit;
|
text-transform: inherit;
|
||||||
@ -1303,7 +1303,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_first_grand_summary_row {
|
#ptmfvbkogm .gt_first_grand_summary_row {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1313,7 +1313,7 @@ demonstration of the functions.</p>
|
|||||||
border-top-color: #D3D3D3;
|
border-top-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_last_grand_summary_row_top {
|
#ptmfvbkogm .gt_last_grand_summary_row_top {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
@ -1323,11 +1323,11 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_striped {
|
#ptmfvbkogm .gt_striped {
|
||||||
background-color: rgba(128, 128, 128, 0.05);
|
background-color: rgba(128, 128, 128, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_table_body {
|
#ptmfvbkogm .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;
|
||||||
@ -1336,7 +1336,7 @@ demonstration of the functions.</p>
|
|||||||
border-bottom-color: #D3D3D3;
|
border-bottom-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_footnotes {
|
#ptmfvbkogm .gt_footnotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -1350,7 +1350,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_footnote {
|
#ptmfvbkogm .gt_footnote {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
@ -1359,7 +1359,7 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_sourcenotes {
|
#ptmfvbkogm .gt_sourcenotes {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-bottom-style: none;
|
border-bottom-style: none;
|
||||||
@ -1373,7 +1373,7 @@ demonstration of the functions.</p>
|
|||||||
border-right-color: #D3D3D3;
|
border-right-color: #D3D3D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_sourcenote {
|
#ptmfvbkogm .gt_sourcenote {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -1381,63 +1381,63 @@ demonstration of the functions.</p>
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_left {
|
#ptmfvbkogm .gt_left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_center {
|
#ptmfvbkogm .gt_center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_right {
|
#ptmfvbkogm .gt_right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_font_normal {
|
#ptmfvbkogm .gt_font_normal {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_font_bold {
|
#ptmfvbkogm .gt_font_bold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_font_italic {
|
#ptmfvbkogm .gt_font_italic {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_super {
|
#ptmfvbkogm .gt_super {
|
||||||
font-size: 65%;
|
font-size: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_footnote_marks {
|
#ptmfvbkogm .gt_footnote_marks {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
vertical-align: 0.4em;
|
vertical-align: 0.4em;
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_asterisk {
|
#ptmfvbkogm .gt_asterisk {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: 0;
|
vertical-align: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_indent_1 {
|
#ptmfvbkogm .gt_indent_1 {
|
||||||
text-indent: 5px;
|
text-indent: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_indent_2 {
|
#ptmfvbkogm .gt_indent_2 {
|
||||||
text-indent: 10px;
|
text-indent: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_indent_3 {
|
#ptmfvbkogm .gt_indent_3 {
|
||||||
text-indent: 15px;
|
text-indent: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_indent_4 {
|
#ptmfvbkogm .gt_indent_4 {
|
||||||
text-indent: 20px;
|
text-indent: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rdpjzwjcvc .gt_indent_5 {
|
#ptmfvbkogm .gt_indent_5 {
|
||||||
text-indent: 25px;
|
text-indent: 25px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -50,16 +50,6 @@
|
|||||||
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
|
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 class="pkg-version" data-toc-text="23.6.2" id="redcapcast-2362">REDCapCAST 23.6.2<a class="anchor" aria-label="anchor" href="#redcapcast-2362"></a></h2>
|
|
||||||
<p>This version marks the introduction of a few helper functions to handle database creation.</p>
|
|
||||||
<div class="section level4">
|
|
||||||
<h4 id="functions-23-6-2">Functions<a class="anchor" aria-label="anchor" href="#functions-23-6-2"></a></h4>
|
|
||||||
<ul><li><p>New: <code><a href="../reference/ds2dd.html">ds2dd()</a></code> function migrating from the <code>stRoke</code>-package. Assists in building a data dictionary for REDCap from a dataset.</p></li>
|
|
||||||
<li><p>New: <code><a href="../reference/strsplitx.html">strsplitx()</a></code> function to ease the string splitting as an extension of <code><a href="https://rdrr.io/r/base/strsplit.html" class="external-link">base::strsplit()</a></code>. Inspiration from <a href="https://stackoverflow.com/a/11014253/21019325" class="external-link uri">https://stackoverflow.com/a/11014253/21019325</a> and <a href="https://www.r-bloggers.com/2018/04/strsplit-but-keeping-the-delimiter/" class="external-link uri">https://www.r-bloggers.com/2018/04/strsplit-but-keeping-the-delimiter/</a>.</p></li>
|
|
||||||
<li><p>New: <code>d2n()</code> function converts single digits to written numbers. Used to sanitize variable and form names in REDCap database creation. For more universal number to word I would suggest <code>english::word()</code> or <code><a href="https://rdrr.io/pkg/xfun/man/numbers_to_words.html" class="external-link">xfun::numbers_to_words()</a></code>, though I have not been testing these.</p></li>
|
|
||||||
</ul></div>
|
|
||||||
</div>
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 class="pkg-version" data-toc-text="23.6.1" id="redcapcast-2361">REDCapCAST 23.6.1<a class="anchor" aria-label="anchor" href="#redcapcast-2361"></a></h2><p class="text-muted">CRAN release: 2023-06-06</p>
|
<h2 class="pkg-version" data-toc-text="23.6.1" id="redcapcast-2361">REDCapCAST 23.6.1<a class="anchor" aria-label="anchor" href="#redcapcast-2361"></a></h2><p class="text-muted">CRAN release: 2023-06-06</p>
|
||||||
<div class="section level4">
|
<div class="section level4">
|
||||||
|
@ -3,7 +3,7 @@ pkgdown: 2.0.7
|
|||||||
pkgdown_sha: ~
|
pkgdown_sha: ~
|
||||||
articles:
|
articles:
|
||||||
Introduction: Introduction.html
|
Introduction: Introduction.html
|
||||||
last_built: 2023-07-04T15:00Z
|
last_built: 2023-07-03T05:55Z
|
||||||
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
|
||||||
|
@ -14,7 +14,7 @@ is used to determine which fields should be included in each resultant table."><
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -14,7 +14,7 @@ Trying to make up for different naming conventions."><meta property="og:image" c
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -1,135 +0,0 @@
|
|||||||
<!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="Convert single digits to words"><title>Convert single digits to words — d2w • 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.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/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="Convert single digits to words — d2w"><meta property="og:description" content="Convert single digits to words"><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/respond/1.4.2/respond.min.js"></script>
|
|
||||||
<![endif]--></head><body>
|
|
||||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
|
||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
|
||||||
<ul class="navbar-nav me-auto"><li class="active nav-item">
|
|
||||||
<a class="nav-link" href="../reference/index.html">Reference</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item dropdown">
|
|
||||||
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
|
||||||
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
|
||||||
<a class="dropdown-item" href="../articles/Introduction.html">Introduction</a>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="../news/index.html">Changelog</a>
|
|
||||||
</li>
|
|
||||||
</ul><form class="form-inline my-2 my-lg-0" role="search">
|
|
||||||
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
|
|
||||||
|
|
||||||
<ul class="navbar-nav"><li class="nav-item">
|
|
||||||
<a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="github">
|
|
||||||
<span class="fab fa fab fa-github fa-lg"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul></div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav><div class="container template-reference-topic">
|
|
||||||
<div class="row">
|
|
||||||
<main id="main" class="col-md-9"><div class="page-header">
|
|
||||||
<img src="../logo.png" class="logo" alt=""><h1>Convert single digits to words</h1>
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
|
|
||||||
<div class="d-none name"><code>d2w.Rd</code></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ref-description section level2">
|
|
||||||
<p>Convert single digits to words</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">d2w</span><span class="op">(</span><span class="va">x</span>, lang <span class="op">=</span> <span class="st">"en"</span>, neutrum <span class="op">=</span> <span class="cn">FALSE</span>, everything <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span></code></pre></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
|
||||||
<dl><dt>x</dt>
|
|
||||||
<dd><p>data. Handle vectors, data.frames and lists</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>lang</dt>
|
|
||||||
<dd><p>language. Danish (da) and English (en), Default is "en"</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>neutrum</dt>
|
|
||||||
<dd><p>for numbers depending on counted word</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>everything</dt>
|
|
||||||
<dd><p>flag to also split numbers >9 to single digits</p></dd>
|
|
||||||
|
|
||||||
</dl></div>
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p>returns characters in same format as input</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">d2w</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="fl">2</span><span class="op">:</span><span class="fl">8</span>,<span class="fl">21</span><span class="op">)</span><span class="op">)</span></span></span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "two" "three" "four" "five" "six" "seven" "eight" "21" </span>
|
|
||||||
<span class="r-in"><span><span class="fu">d2w</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 class="fl">2</span><span class="op">:</span><span class="fl">7</span>,<span class="fl">3</span><span class="op">:</span><span class="fl">8</span>,<span class="fl">1</span><span class="op">)</span>,lang<span class="op">=</span><span class="st">"da"</span>,neutrum<span class="op">=</span><span class="cn">TRUE</span><span class="op">)</span></span></span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> X2.7 X3.8 X1</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 to tre et</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 tre fire et</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 fire fem et</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 fem seks et</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 seks syv et</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 syv otte et</span>
|
|
||||||
<span class="r-in"><span></span></span>
|
|
||||||
<span class="r-in"><span><span class="co">## If everything=T, also larger numbers are reduced.</span></span></span>
|
|
||||||
<span class="r-in"><span><span class="co">## Elements in the list are same length as input</span></span></span>
|
|
||||||
<span class="r-in"><span><span class="fu">d2w</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="fl">2</span><span class="op">:</span><span class="fl">8</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">2</span>,<span class="fl">6</span>,<span class="fl">4</span>,<span class="fl">23</span><span class="op">)</span>,<span class="fl">2</span><span class="op">)</span>, everything<span class="op">=</span><span class="cn">TRUE</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] "two" "three" "four" "five" "six" "seven" "eight"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[2]]</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "two" "six" "four" "two three"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[3]]</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "two"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-in"><span></span></span>
|
|
||||||
</code></pre></div>
|
|
||||||
</div>
|
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
|
||||||
</nav></aside></div>
|
|
||||||
|
|
||||||
|
|
||||||
<footer><div class="pkgdown-footer-left">
|
|
||||||
<p></p><p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pkgdown-footer-right">
|
|
||||||
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</footer></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body></html>
|
|
||||||
|
|
@ -1,296 +0,0 @@
|
|||||||
<!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="Migrated from stRoke ds2dd(). Fits better with the functionality of
|
|
||||||
'REDCapCAST'"><title>Data set to data dictionary function — ds2dd • 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.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/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="Data set to data dictionary function — ds2dd"><meta property="og:description" content="Migrated from stRoke ds2dd(). Fits better with the functionality of
|
|
||||||
'REDCapCAST'"><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/respond/1.4.2/respond.min.js"></script>
|
|
||||||
<![endif]--></head><body>
|
|
||||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
|
||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
|
||||||
<ul class="navbar-nav me-auto"><li class="active nav-item">
|
|
||||||
<a class="nav-link" href="../reference/index.html">Reference</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item dropdown">
|
|
||||||
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
|
||||||
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
|
||||||
<a class="dropdown-item" href="../articles/Introduction.html">Introduction</a>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="../news/index.html">Changelog</a>
|
|
||||||
</li>
|
|
||||||
</ul><form class="form-inline my-2 my-lg-0" role="search">
|
|
||||||
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
|
|
||||||
|
|
||||||
<ul class="navbar-nav"><li class="nav-item">
|
|
||||||
<a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="github">
|
|
||||||
<span class="fab fa fab fa-github fa-lg"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul></div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav><div class="container template-reference-topic">
|
|
||||||
<div class="row">
|
|
||||||
<main id="main" class="col-md-9"><div class="page-header">
|
|
||||||
<img src="../logo.png" class="logo" alt=""><h1>Data set to data dictionary function</h1>
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small>
|
|
||||||
<div class="d-none name"><code>ds2dd.Rd</code></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ref-description section level2">
|
|
||||||
<p>Migrated from stRoke ds2dd(). Fits better with the functionality of
|
|
||||||
'REDCapCAST'</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">ds2dd</span><span class="op">(</span></span>
|
|
||||||
<span> <span class="va">ds</span>,</span>
|
|
||||||
<span> record.id <span class="op">=</span> <span class="st">"record_id"</span>,</span>
|
|
||||||
<span> form.name <span class="op">=</span> <span class="st">"basis"</span>,</span>
|
|
||||||
<span> field.type <span class="op">=</span> <span class="st">"text"</span>,</span>
|
|
||||||
<span> field.label <span class="op">=</span> <span class="cn">NULL</span>,</span>
|
|
||||||
<span> include.column.names <span class="op">=</span> <span class="cn">FALSE</span>,</span>
|
|
||||||
<span> metadata <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/names.html" class="external-link">names</a></span><span class="op">(</span><span class="va">redcapcast_meta</span><span class="op">)</span></span>
|
|
||||||
<span><span class="op">)</span></span></code></pre></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
|
||||||
<dl><dt>ds</dt>
|
|
||||||
<dd><p>data set</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>record.id</dt>
|
|
||||||
<dd><p>name or column number of id variable, moved to first row of
|
|
||||||
data dictionary, character of integer. Default is "record_id".</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>form.name</dt>
|
|
||||||
<dd><p>vector of form names, character string, length 1 or length
|
|
||||||
equal to number of variables. Default is "basis".</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>field.type</dt>
|
|
||||||
<dd><p>vector of field types, character string, length 1 or length
|
|
||||||
equal to number of variables. Default is "text.</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>field.label</dt>
|
|
||||||
<dd><p>vector of form names, character string, length 1 or length
|
|
||||||
equal to number of variables. Default is NULL and is then identical to field
|
|
||||||
names.</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>include.column.names</dt>
|
|
||||||
<dd><p>Flag to give detailed output including new
|
|
||||||
column names for original data set for upload.</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>metadata</dt>
|
|
||||||
<dd><p>Metadata column names. Default is the included
|
|
||||||
REDCapCAST::redcapcast_data.</p></dd>
|
|
||||||
|
|
||||||
</dl></div>
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p>data.frame or list of data.frame and vector</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">redcapcast_data</span><span class="op">$</span><span class="va">record_id</span> <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"><a href="https://rdrr.io/r/base/nrow.html" class="external-link">nrow</a></span><span class="op">(</span><span class="va">redcapcast_data</span><span class="op">)</span><span class="op">)</span></span></span>
|
|
||||||
<span class="r-in"><span><span class="fu">ds2dd</span><span class="op">(</span><span class="va">redcapcast_data</span>, include.column.names<span class="op">=</span><span class="cn">TRUE</span><span class="op">)</span></span></span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> $DataDictionary</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> field_name form_name section_header field_type</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 record_id basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 redcap_event_name basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 redcap_repeat_instrument basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 redcap_repeat_instance basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 cpr basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 inclusion basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 dob basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 age basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 age_integer basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 sex basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 cohabitation basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 hypertension basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 diabetes basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 region basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 baseline_data_start_complete basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 mrs_assessed basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 mrs_date basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 mrs_score basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 mrs_complete basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 event_date basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 event_type basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 new_event_complete basis NA text</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> field_label select_choices_or_calculations field_note</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 record_id NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 redcap_event_name NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 redcap_repeat_instrument NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 redcap_repeat_instance NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 cpr NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 inclusion NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 dob NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 age NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 age_integer NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 sex NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 cohabitation NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 hypertension NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 diabetes NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 region NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 baseline_data_start_complete NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 mrs_assessed NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 mrs_date NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 mrs_score NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 mrs_complete NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 event_date NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 event_type NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 new_event_complete NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> text_validation_type_or_show_slider_number text_validation_min</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> text_validation_max identifier branching_logic required_field</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> custom_alignment question_number matrix_group_name matrix_ranking</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 NA NA NA NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> field_annotation</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 11 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 12 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 13 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 14 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 15 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 16 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 17 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 18 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 19 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 20 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 21 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 22 NA</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> $`Column names`</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "record_id" "redcap_event_name" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [3] "redcap_repeat_instrument" "redcap_repeat_instance" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [5] "cpr" "inclusion" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] "dob" "age" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [9] "age_integer" "sex" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [11] "cohabitation" "hypertension" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [13] "diabetes" "region" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [15] "baseline_data_start_complete" "mrs_assessed" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [17] "mrs_date" "mrs_score" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [19] "mrs_complete" "event_date" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [21] "event_type" "new_event_complete" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
</code></pre></div>
|
|
||||||
</div>
|
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
|
||||||
</nav></aside></div>
|
|
||||||
|
|
||||||
|
|
||||||
<footer><div class="pkgdown-footer-left">
|
|
||||||
<p></p><p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pkgdown-footer-right">
|
|
||||||
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</footer></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body></html>
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -72,16 +72,6 @@
|
|||||||
<dd>clean_redcap_name</dd>
|
<dd>clean_redcap_name</dd>
|
||||||
</dl><dl><dt>
|
</dl><dl><dt>
|
||||||
|
|
||||||
<code><a href="d2w.html">d2w()</a></code>
|
|
||||||
</dt>
|
|
||||||
<dd>Convert single digits to words</dd>
|
|
||||||
</dl><dl><dt>
|
|
||||||
|
|
||||||
<code><a href="ds2dd.html">ds2dd()</a></code>
|
|
||||||
</dt>
|
|
||||||
<dd>Data set to data dictionary function</dd>
|
|
||||||
</dl><dl><dt>
|
|
||||||
|
|
||||||
<code><a href="focused_metadata.html">focused_metadata()</a></code>
|
<code><a href="focused_metadata.html">focused_metadata()</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>focused_metadata</dd>
|
<dd>focused_metadata</dd>
|
||||||
@ -120,11 +110,6 @@
|
|||||||
<code><a href="split_non_repeating_forms.html">split_non_repeating_forms()</a></code>
|
<code><a href="split_non_repeating_forms.html">split_non_repeating_forms()</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>Split a data frame into separate tables for each form</dd>
|
<dd>Split a data frame into separate tables for each form</dd>
|
||||||
</dl><dl><dt>
|
|
||||||
|
|
||||||
<code><a href="strsplitx.html">strsplitx()</a></code>
|
|
||||||
</dt>
|
|
||||||
<dd>Extended string splitting</dd>
|
|
||||||
</dl></div>
|
</dl></div>
|
||||||
</main></div>
|
</main></div>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -16,7 +16,7 @@ Works with longitudinal projects with repeating instruments."><meta property="og
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ Handles longitudinal projects, but not yet repeated instruments."><meta property
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ Contains only synthetic data."><meta property="og:image" content="https://agdams
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -1,132 +0,0 @@
|
|||||||
<!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="Can be used as a substitute of the base function. Main claim to fame is
|
|
||||||
easing the split around the defined delimiter, see example."><title>Extended string splitting — strsplitx • 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.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/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="Extended string splitting — strsplitx"><meta property="og:description" content="Can be used as a substitute of the base function. Main claim to fame is
|
|
||||||
easing the split around the defined delimiter, see example."><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/respond/1.4.2/respond.min.js"></script>
|
|
||||||
<![endif]--></head><body>
|
|
||||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
|
||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.2</small>
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
|
||||||
<ul class="navbar-nav me-auto"><li class="active nav-item">
|
|
||||||
<a class="nav-link" href="../reference/index.html">Reference</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item dropdown">
|
|
||||||
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
|
||||||
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
|
||||||
<a class="dropdown-item" href="../articles/Introduction.html">Introduction</a>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="../news/index.html">Changelog</a>
|
|
||||||
</li>
|
|
||||||
</ul><form class="form-inline my-2 my-lg-0" role="search">
|
|
||||||
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
|
|
||||||
|
|
||||||
<ul class="navbar-nav"><li class="nav-item">
|
|
||||||
<a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="github">
|
|
||||||
<span class="fab fa fab fa-github fa-lg"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul></div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav><div class="container template-reference-topic">
|
|
||||||
<div class="row">
|
|
||||||
<main id="main" class="col-md-9"><div class="page-header">
|
|
||||||
<img src="../logo.png" class="logo" alt=""><h1>Extended string splitting</h1>
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
|
|
||||||
<div class="d-none name"><code>strsplitx.Rd</code></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ref-description section level2">
|
|
||||||
<p>Can be used as a substitute of the base function. Main claim to fame is
|
|
||||||
easing the split around the defined delimiter, see example.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">strsplitx</span><span class="op">(</span><span class="va">x</span>, <span class="va">split</span>, type <span class="op">=</span> <span class="st">"classic"</span>, perl <span class="op">=</span> <span class="cn">FALSE</span>, <span class="va">...</span><span class="op">)</span></span></code></pre></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
|
||||||
<dl><dt>x</dt>
|
|
||||||
<dd><p>data</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>split</dt>
|
|
||||||
<dd><p>delimiter</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>type</dt>
|
|
||||||
<dd><p>Split type. Can be c("classic", "before", "after", "around")</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>perl</dt>
|
|
||||||
<dd><p>perl param from strsplit()</p></dd>
|
|
||||||
|
|
||||||
|
|
||||||
<dt>...</dt>
|
|
||||||
<dd><p>additional parameters are passed to base strsplit handling splits</p></dd>
|
|
||||||
|
|
||||||
</dl></div>
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p>list</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section level2">
|
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="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>
|
|
||||||
<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] "1" "2" " months follow-up"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[2]]</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "3" " steps"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[3]]</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "mRS " "6" " weeks"</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [[4]]</span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] "Counting to " "2" "3" "1" " now" </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
|
||||||
</code></pre></div>
|
|
||||||
</div>
|
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
|
||||||
</nav></aside></div>
|
|
||||||
|
|
||||||
|
|
||||||
<footer><div class="pkgdown-footer-left">
|
|
||||||
<p></p><p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pkgdown-footer-right">
|
|
||||||
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</footer></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body></html>
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
@ -27,12 +27,6 @@
|
|||||||
<url>
|
<url>
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_redcap_name.html</loc>
|
<loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_redcap_name.html</loc>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/d2w.html</loc>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/ds2dd.html</loc>
|
|
||||||
</url>
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/focused_metadata.html</loc>
|
<loc>https://agdamsbo.github.io/REDCapCAST/reference/focused_metadata.html</loc>
|
||||||
</url>
|
</url>
|
||||||
@ -60,7 +54,4 @@
|
|||||||
<url>
|
<url>
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/split_non_repeating_forms.html</loc>
|
<loc>https://agdamsbo.github.io/REDCapCAST/reference/split_non_repeating_forms.html</loc>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
|
||||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/strsplitx.html</loc>
|
|
||||||
</url>
|
|
||||||
</urlset>
|
</urlset>
|
||||||
|
Loading…
Reference in New Issue
Block a user