mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-21 21:10:22 +01:00
Compare commits
7 Commits
fba6066125
...
afcb1a8c57
Author | SHA1 | Date | |
---|---|---|---|
|
afcb1a8c57 | ||
|
5004661c69 | ||
|
1050497b6d | ||
|
2f4e8dbed5 | ||
|
ca75254303 | ||
|
dcd03b38c5 | ||
|
1e38e70d16 |
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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
@ -98,23 +98,23 @@ demonstration of the functions.</p>
|
||||
</h2>
|
||||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">redcapcast_data</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<div id="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>#roqtbcohfc table {
|
||||
<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;">
|
||||
<style>#arplbkvxqr table {
|
||||
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#roqtbcohfc thead, #roqtbcohfc tbody, #roqtbcohfc tfoot, #roqtbcohfc tr, #roqtbcohfc td, #roqtbcohfc th {
|
||||
#arplbkvxqr thead, #arplbkvxqr tbody, #arplbkvxqr tfoot, #arplbkvxqr tr, #arplbkvxqr td, #arplbkvxqr th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#roqtbcohfc p {
|
||||
#arplbkvxqr p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_table {
|
||||
#arplbkvxqr .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
@ -140,12 +140,12 @@ demonstration of the functions.</p>
|
||||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_caption {
|
||||
#arplbkvxqr .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_title {
|
||||
#arplbkvxqr .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
@ -157,7 +157,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_subtitle {
|
||||
#arplbkvxqr .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
@ -169,7 +169,7 @@ demonstration of the functions.</p>
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_heading {
|
||||
#arplbkvxqr .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
@ -181,13 +181,13 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_bottom_border {
|
||||
#arplbkvxqr .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_col_headings {
|
||||
#arplbkvxqr .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -202,7 +202,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_col_heading {
|
||||
#arplbkvxqr .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -222,7 +222,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_column_spanner_outer {
|
||||
#arplbkvxqr .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -234,15 +234,15 @@ demonstration of the functions.</p>
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_column_spanner_outer:first-child {
|
||||
#arplbkvxqr .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_column_spanner_outer:last-child {
|
||||
#arplbkvxqr .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_column_spanner {
|
||||
#arplbkvxqr .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
@ -254,11 +254,11 @@ demonstration of the functions.</p>
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_spanner_row {
|
||||
#arplbkvxqr .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_group_heading {
|
||||
#arplbkvxqr .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -284,7 +284,7 @@ demonstration of the functions.</p>
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_empty_group_heading {
|
||||
#arplbkvxqr .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
@ -299,15 +299,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_from_md > :first-child {
|
||||
#arplbkvxqr .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_from_md > :last-child {
|
||||
#arplbkvxqr .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_row {
|
||||
#arplbkvxqr .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -326,7 +326,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_stub {
|
||||
#arplbkvxqr .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -339,7 +339,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_stub_row_group {
|
||||
#arplbkvxqr .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -353,15 +353,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_row_group_first td {
|
||||
#arplbkvxqr .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_row_group_first th {
|
||||
#arplbkvxqr .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_summary_row {
|
||||
#arplbkvxqr .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -371,16 +371,16 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_first_summary_row {
|
||||
#arplbkvxqr .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_first_summary_row.thick {
|
||||
#arplbkvxqr .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_last_summary_row {
|
||||
#arplbkvxqr .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -390,7 +390,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_grand_summary_row {
|
||||
#arplbkvxqr .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -400,7 +400,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_first_grand_summary_row {
|
||||
#arplbkvxqr .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -410,7 +410,7 @@ demonstration of the functions.</p>
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_last_grand_summary_row_top {
|
||||
#arplbkvxqr .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -420,11 +420,11 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_striped {
|
||||
#arplbkvxqr .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_table_body {
|
||||
#arplbkvxqr .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -433,7 +433,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_footnotes {
|
||||
#arplbkvxqr .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -447,7 +447,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_footnote {
|
||||
#arplbkvxqr .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
@ -456,7 +456,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_sourcenotes {
|
||||
#arplbkvxqr .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -470,7 +470,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_sourcenote {
|
||||
#arplbkvxqr .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
@ -478,63 +478,63 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_left {
|
||||
#arplbkvxqr .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_center {
|
||||
#arplbkvxqr .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_right {
|
||||
#arplbkvxqr .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_font_normal {
|
||||
#arplbkvxqr .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_font_bold {
|
||||
#arplbkvxqr .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_font_italic {
|
||||
#arplbkvxqr .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_super {
|
||||
#arplbkvxqr .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_footnote_marks {
|
||||
#arplbkvxqr .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_asterisk {
|
||||
#arplbkvxqr .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_indent_1 {
|
||||
#arplbkvxqr .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_indent_2 {
|
||||
#arplbkvxqr .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_indent_3 {
|
||||
#arplbkvxqr .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_indent_4 {
|
||||
#arplbkvxqr .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#roqtbcohfc .gt_indent_5 {
|
||||
#arplbkvxqr .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
@ -1001,23 +1001,23 @@ demonstration of the functions.</p>
|
||||
</div>
|
||||
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">redcapcast_meta</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<div id="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>#ptmfvbkogm table {
|
||||
<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;">
|
||||
<style>#rdpjzwjcvc table {
|
||||
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#ptmfvbkogm thead, #ptmfvbkogm tbody, #ptmfvbkogm tfoot, #ptmfvbkogm tr, #ptmfvbkogm td, #ptmfvbkogm th {
|
||||
#rdpjzwjcvc thead, #rdpjzwjcvc tbody, #rdpjzwjcvc tfoot, #rdpjzwjcvc tr, #rdpjzwjcvc td, #rdpjzwjcvc th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#ptmfvbkogm p {
|
||||
#rdpjzwjcvc p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_table {
|
||||
#rdpjzwjcvc .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
@ -1043,12 +1043,12 @@ demonstration of the functions.</p>
|
||||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_caption {
|
||||
#rdpjzwjcvc .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_title {
|
||||
#rdpjzwjcvc .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
@ -1060,7 +1060,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_subtitle {
|
||||
#rdpjzwjcvc .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
@ -1072,7 +1072,7 @@ demonstration of the functions.</p>
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_heading {
|
||||
#rdpjzwjcvc .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
@ -1084,13 +1084,13 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_bottom_border {
|
||||
#rdpjzwjcvc .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_col_headings {
|
||||
#rdpjzwjcvc .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -1105,7 +1105,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_col_heading {
|
||||
#rdpjzwjcvc .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1125,7 +1125,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_column_spanner_outer {
|
||||
#rdpjzwjcvc .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1137,15 +1137,15 @@ demonstration of the functions.</p>
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_column_spanner_outer:first-child {
|
||||
#rdpjzwjcvc .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_column_spanner_outer:last-child {
|
||||
#rdpjzwjcvc .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_column_spanner {
|
||||
#rdpjzwjcvc .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
@ -1157,11 +1157,11 @@ demonstration of the functions.</p>
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_spanner_row {
|
||||
#rdpjzwjcvc .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_group_heading {
|
||||
#rdpjzwjcvc .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1187,7 +1187,7 @@ demonstration of the functions.</p>
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_empty_group_heading {
|
||||
#rdpjzwjcvc .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
@ -1202,15 +1202,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_from_md > :first-child {
|
||||
#rdpjzwjcvc .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_from_md > :last-child {
|
||||
#rdpjzwjcvc .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_row {
|
||||
#rdpjzwjcvc .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1229,7 +1229,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_stub {
|
||||
#rdpjzwjcvc .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1242,7 +1242,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_stub_row_group {
|
||||
#rdpjzwjcvc .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1256,15 +1256,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_row_group_first td {
|
||||
#rdpjzwjcvc .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_row_group_first th {
|
||||
#rdpjzwjcvc .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_summary_row {
|
||||
#rdpjzwjcvc .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -1274,16 +1274,16 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_first_summary_row {
|
||||
#rdpjzwjcvc .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_first_summary_row.thick {
|
||||
#rdpjzwjcvc .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_last_summary_row {
|
||||
#rdpjzwjcvc .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1293,7 +1293,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_grand_summary_row {
|
||||
#rdpjzwjcvc .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -1303,7 +1303,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_first_grand_summary_row {
|
||||
#rdpjzwjcvc .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1313,7 +1313,7 @@ demonstration of the functions.</p>
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_last_grand_summary_row_top {
|
||||
#rdpjzwjcvc .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1323,11 +1323,11 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_striped {
|
||||
#rdpjzwjcvc .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_table_body {
|
||||
#rdpjzwjcvc .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -1336,7 +1336,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_footnotes {
|
||||
#rdpjzwjcvc .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -1350,7 +1350,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_footnote {
|
||||
#rdpjzwjcvc .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
@ -1359,7 +1359,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_sourcenotes {
|
||||
#rdpjzwjcvc .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -1373,7 +1373,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_sourcenote {
|
||||
#rdpjzwjcvc .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
@ -1381,63 +1381,63 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_left {
|
||||
#rdpjzwjcvc .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_center {
|
||||
#rdpjzwjcvc .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_right {
|
||||
#rdpjzwjcvc .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_font_normal {
|
||||
#rdpjzwjcvc .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_font_bold {
|
||||
#rdpjzwjcvc .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_font_italic {
|
||||
#rdpjzwjcvc .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_super {
|
||||
#rdpjzwjcvc .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_footnote_marks {
|
||||
#rdpjzwjcvc .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_asterisk {
|
||||
#rdpjzwjcvc .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_indent_1 {
|
||||
#rdpjzwjcvc .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_indent_2 {
|
||||
#rdpjzwjcvc .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_indent_3 {
|
||||
#rdpjzwjcvc .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_indent_4 {
|
||||
#rdpjzwjcvc .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#ptmfvbkogm .gt_indent_5 {
|
||||
#rdpjzwjcvc .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
@ -50,6 +50,16 @@
|
||||
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
|
||||
</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">
|
||||
<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">
|
||||
|
@ -3,7 +3,7 @@ pkgdown: 2.0.7
|
||||
pkgdown_sha: ~
|
||||
articles:
|
||||
Introduction: Introduction.html
|
||||
last_built: 2023-07-03T05:55Z
|
||||
last_built: 2023-07-04T15:00Z
|
||||
urls:
|
||||
reference: https://agdamsbo.github.io/REDCapCAST/reference
|
||||
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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
135
reference/d2w.html
Normal file
135
reference/d2w.html
Normal file
@ -0,0 +1,135 @@
|
||||
<!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>
|
||||
|
296
reference/ds2dd.html
Normal file
296
reference/ds2dd.html
Normal file
@ -0,0 +1,296 @@
|
||||
<!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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
@ -72,6 +72,16 @@
|
||||
<dd>clean_redcap_name</dd>
|
||||
</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>
|
||||
</dt>
|
||||
<dd>focused_metadata</dd>
|
||||
@ -110,6 +120,11 @@
|
||||
<code><a href="split_non_repeating_forms.html">split_non_repeating_forms()</a></code>
|
||||
</dt>
|
||||
<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>
|
||||
</main></div>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -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>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.6.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.1</small>
|
||||
<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">
|
||||
|
132
reference/strsplitx.html
Normal file
132
reference/strsplitx.html
Normal file
@ -0,0 +1,132 @@
|
||||
<!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,6 +27,12 @@
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_redcap_name.html</loc>
|
||||
</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>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/focused_metadata.html</loc>
|
||||
</url>
|
||||
@ -54,4 +60,7 @@
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/split_non_repeating_forms.html</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/reference/strsplitx.html</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
|
Loading…
Reference in New Issue
Block a user