Deploying to gh-pages from @ agdamsbo/REDCapCAST@4ad21c7f57 🚀

This commit is contained in:
agdamsbo 2024-11-26 13:57:19 +00:00
parent 826994faef
commit 910c7408b7
78 changed files with 510 additions and 927 deletions

View File

@ -27,7 +27,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="logo.png" class="logo" alt=""><h1>Contributor Covenant Code of Conduct</h1> <img src="logo.png" class="logo" alt=""><h1>Contributor Covenant Code of Conduct</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/CODE_OF_CONDUCT.md" class="external-link"><code>CODE_OF_CONDUCT.md</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/CODE_OF_CONDUCT.md" class="external-link"><code>CODE_OF_CONDUCT.md</code></a></small>
</div> </div>
<div id="contributor-covenant-code-of-conduct" class="section level1"> <div id="contributor-covenant-code-of-conduct" class="section level1">

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="logo.png" class="logo" alt=""><h1>GNU General Public License</h1> <img src="logo.png" class="logo" alt=""><h1>GNU General Public License</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/LICENSE.md" class="external-link"><code>LICENSE.md</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/LICENSE.md" class="external-link"><code>LICENSE.md</code></a></small>
</div> </div>
<div id="gnu-general-public-license" class="section level1"> <div id="gnu-general-public-license" class="section level1">

View File

@ -26,7 +26,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>Database-creation</h1> <img src="../logo.png" class="logo" alt=""><h1>Database-creation</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/vignettes/Database-creation.Rmd" class="external-link"><code>vignettes/Database-creation.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/Database-creation.Rmd" class="external-link"><code>vignettes/Database-creation.Rmd</code></a></small>
<div class="d-none name"><code>Database-creation.Rmd</code></div> <div class="d-none name"><code>Database-creation.Rmd</code></div>
</div> </div>
@ -101,720 +101,6 @@ datasets/spreadsheets securely in REDCap.</p>
<span></span> <span></span>
<span><span class="va">d1</span> <span class="op">|&gt;</span></span> <span><span class="va">d1</span> <span class="op">|&gt;</span></span>
<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> <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="mwlefoodfi" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#mwlefoodfi 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;
}
#mwlefoodfi thead, #mwlefoodfi tbody, #mwlefoodfi tfoot, #mwlefoodfi tr, #mwlefoodfi td, #mwlefoodfi th {
border-style: none;
}
#mwlefoodfi p {
margin: 0;
padding: 0;
}
#mwlefoodfi .gt_table {
display: table;
border-collapse: collapse;
line-height: normal;
margin-left: auto;
margin-right: auto;
color: #333333;
font-size: 16px;
font-weight: normal;
font-style: normal;
background-color: #FFFFFF;
width: auto;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #A8A8A8;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #A8A8A8;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
}
#mwlefoodfi .gt_caption {
padding-top: 4px;
padding-bottom: 4px;
}
#mwlefoodfi .gt_title {
color: #333333;
font-size: 125%;
font-weight: initial;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
border-bottom-color: #FFFFFF;
border-bottom-width: 0;
}
#mwlefoodfi .gt_subtitle {
color: #333333;
font-size: 85%;
font-weight: initial;
padding-top: 3px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
border-top-color: #FFFFFF;
border-top-width: 0;
}
#mwlefoodfi .gt_heading {
background-color: #FFFFFF;
text-align: center;
border-bottom-color: #FFFFFF;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
}
#mwlefoodfi .gt_bottom_border {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#mwlefoodfi .gt_col_headings {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
}
#mwlefoodfi .gt_col_heading {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: normal;
text-transform: inherit;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: bottom;
padding-top: 5px;
padding-bottom: 6px;
padding-left: 5px;
padding-right: 5px;
overflow-x: hidden;
}
#mwlefoodfi .gt_column_spanner_outer {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: normal;
text-transform: inherit;
padding-top: 0;
padding-bottom: 0;
padding-left: 4px;
padding-right: 4px;
}
#mwlefoodfi .gt_column_spanner_outer:first-child {
padding-left: 0;
}
#mwlefoodfi .gt_column_spanner_outer:last-child {
padding-right: 0;
}
#mwlefoodfi .gt_column_spanner {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
vertical-align: bottom;
padding-top: 5px;
padding-bottom: 5px;
overflow-x: hidden;
display: inline-block;
width: 100%;
}
#mwlefoodfi .gt_spanner_row {
border-bottom-style: hidden;
}
#mwlefoodfi .gt_group_heading {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: middle;
text-align: left;
}
#mwlefoodfi .gt_empty_group_heading {
padding: 0.5px;
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
vertical-align: middle;
}
#mwlefoodfi .gt_from_md > :first-child {
margin-top: 0;
}
#mwlefoodfi .gt_from_md > :last-child {
margin-bottom: 0;
}
#mwlefoodfi .gt_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
margin: 10px;
border-top-style: solid;
border-top-width: 1px;
border-top-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: middle;
overflow-x: hidden;
}
#mwlefoodfi .gt_stub {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-right-style: solid;
border-right-width: 2px;
border-right-color: #D3D3D3;
padding-left: 5px;
padding-right: 5px;
}
#mwlefoodfi .gt_stub_row_group {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-right-style: solid;
border-right-width: 2px;
border-right-color: #D3D3D3;
padding-left: 5px;
padding-right: 5px;
vertical-align: top;
}
#mwlefoodfi .gt_row_group_first td {
border-top-width: 2px;
}
#mwlefoodfi .gt_row_group_first th {
border-top-width: 2px;
}
#mwlefoodfi .gt_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
#mwlefoodfi .gt_first_summary_row {
border-top-style: solid;
border-top-color: #D3D3D3;
}
#mwlefoodfi .gt_first_summary_row.thick {
border-top-width: 2px;
}
#mwlefoodfi .gt_last_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#mwlefoodfi .gt_grand_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
#mwlefoodfi .gt_first_grand_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-top-style: double;
border-top-width: 6px;
border-top-color: #D3D3D3;
}
#mwlefoodfi .gt_last_grand_summary_row_top {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: double;
border-bottom-width: 6px;
border-bottom-color: #D3D3D3;
}
#mwlefoodfi .gt_striped {
background-color: rgba(128, 128, 128, 0.05);
}
#mwlefoodfi .gt_table_body {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#mwlefoodfi .gt_footnotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
}
#mwlefoodfi .gt_footnote {
margin: 0px;
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
#mwlefoodfi .gt_sourcenotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
}
#mwlefoodfi .gt_sourcenote {
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
#mwlefoodfi .gt_left {
text-align: left;
}
#mwlefoodfi .gt_center {
text-align: center;
}
#mwlefoodfi .gt_right {
text-align: right;
font-variant-numeric: tabular-nums;
}
#mwlefoodfi .gt_font_normal {
font-weight: normal;
}
#mwlefoodfi .gt_font_bold {
font-weight: bold;
}
#mwlefoodfi .gt_font_italic {
font-style: italic;
}
#mwlefoodfi .gt_super {
font-size: 65%;
}
#mwlefoodfi .gt_footnote_marks {
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
#mwlefoodfi .gt_asterisk {
font-size: 100%;
vertical-align: 0;
}
#mwlefoodfi .gt_indent_1 {
text-indent: 5px;
}
#mwlefoodfi .gt_indent_2 {
text-indent: 10px;
}
#mwlefoodfi .gt_indent_3 {
text-indent: 15px;
}
#mwlefoodfi .gt_indent_4 {
text-indent: 20px;
}
#mwlefoodfi .gt_indent_5 {
text-indent: 25px;
}
#mwlefoodfi .katex-display {
display: inline-flex !important;
margin-bottom: 0.75em !important;
}
#mwlefoodfi div.Reactable > div.rt-table > div.rt-thead > div.rt-tr.rt-tr-group-header > div.rt-th-group:after {
height: 0px !important;
}
</style>
<table class="table gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
<thead><tr class="gt_col_headings">
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_name">field_name</th>
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="form_name">form_name</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="section_header">section_header</th>
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_type">field_type</th>
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_label">field_label</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="select_choices_or_calculations">select_choices_or_calculations</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="field_note">field_note</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="text_validation_type_or_show_slider_number">text_validation_type_or_show_slider_number</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="text_validation_min">text_validation_min</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="text_validation_max">text_validation_max</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="identifier">identifier</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="branching_logic">branching_logic</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="required_field">required_field</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="custom_alignment">custom_alignment</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="question_number">question_number</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="matrix_group_name">matrix_group_name</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="matrix_ranking">matrix_ranking</th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="field_annotation">field_annotation</th>
</tr></thead>
<tbody class="gt_table_body">
<tr>
<td headers="field_name" class="gt_row gt_left">record_id</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">record_id</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">mpg</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">mpg</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">cyl</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">cyl</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">disp</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">disp</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">hp</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">hp</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">drat</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">drat</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">wt</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">wt</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">qsec</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">qsec</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">vs</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">vs</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">am</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">am</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">gear</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">gear</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
<tr>
<td headers="field_name" class="gt_row gt_left">carb</td>
<td headers="form_name" class="gt_row gt_left">basis</td>
<td headers="section_header" class="gt_row gt_center">NA</td>
<td headers="field_type" class="gt_row gt_left">text</td>
<td headers="field_label" class="gt_row gt_left">carb</td>
<td headers="select_choices_or_calculations" class="gt_row gt_center">NA</td>
<td headers="field_note" class="gt_row gt_center">NA</td>
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_center">NA</td>
<td headers="text_validation_min" class="gt_row gt_center">NA</td>
<td headers="text_validation_max" class="gt_row gt_center">NA</td>
<td headers="identifier" class="gt_row gt_center">NA</td>
<td headers="branching_logic" class="gt_row gt_center">NA</td>
<td headers="required_field" class="gt_row gt_center">NA</td>
<td headers="custom_alignment" class="gt_row gt_center">NA</td>
<td headers="question_number" class="gt_row gt_center">NA</td>
<td headers="matrix_group_name" class="gt_row gt_center">NA</td>
<td headers="matrix_ranking" class="gt_row gt_center">NA</td>
<td headers="field_annotation" class="gt_row gt_center">NA</td>
</tr>
</tbody>
</table>
</div>
<p>The more advanced <code><a href="../reference/ds2dd_detailed.html">ds2dd_detailed()</a></code> is a natural <p>The more advanced <code><a href="../reference/ds2dd_detailed.html">ds2dd_detailed()</a></code> is a natural
development. It will try to apply the most common data classes for data development. It will try to apply the most common data classes for data
validation and will assume that the first column is the id number. It validation and will assume that the first column is the id number. It

View File

@ -26,7 +26,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>REDCapCAST</h1> <img src="../logo.png" class="logo" alt=""><h1>REDCapCAST</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/vignettes/REDCapCAST.Rmd" class="external-link"><code>vignettes/REDCapCAST.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/REDCapCAST.Rmd" class="external-link"><code>vignettes/REDCapCAST.Rmd</code></a></small>
<div class="d-none name"><code>REDCapCAST.Rmd</code></div> <div class="d-none name"><code>REDCapCAST.Rmd</code></div>
</div> </div>

View File

@ -26,7 +26,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -66,7 +66,7 @@
<img src="../logo.png" class="logo" alt=""><h1>Shiny-app</h1> <img src="../logo.png" class="logo" alt=""><h1>Shiny-app</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/vignettes/Shiny-app.Rmd" class="external-link"><code>vignettes/Shiny-app.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/vignettes/Shiny-app.Rmd" class="external-link"><code>vignettes/Shiny-app.Rmd</code></a></small>
<div class="d-none name"><code>Shiny-app.Rmd</code></div> <div class="d-none name"><code>Shiny-app.Rmd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -51,17 +51,17 @@
<div class="section level2"> <div class="section level2">
<h2 id="citation">Citation</h2> <h2 id="citation">Citation</h2>
<p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p> <p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p>
<p>Damsbo A, Egeler P (2024). <p>Damsbo A, Egeler P (2024).
<em>REDCapCAST: REDCap Metadata Casting and Castellated Data Handling</em>. <em>REDCapCAST: REDCap Metadata Casting and Castellated Data Handling</em>.
R package version 24.11.3, https://agdamsbo.github.io/REDCapCAST/, <a href="https://github.com/agdamsbo/REDCapCAST" class="external-link">https://github.com/agdamsbo/REDCapCAST</a>. R package version 24.11.4, https://agdamsbo.github.io/REDCapCAST/, <a href="https://github.com/agdamsbo/REDCapCAST" class="external-link">https://github.com/agdamsbo/REDCapCAST</a>.
</p> </p>
<pre>@Manual{, <pre>@Manual{,
title = {REDCapCAST: REDCap Metadata Casting and Castellated Data Handling}, title = {REDCapCAST: REDCap Metadata Casting and Castellated Data Handling},
author = {Andreas Gammelgaard Damsbo and Paul Egeler}, author = {Andreas Gammelgaard Damsbo and Paul Egeler},
year = {2024}, year = {2024},
note = {R package version 24.11.3, https://agdamsbo.github.io/REDCapCAST/}, note = {R package version 24.11.4, https://agdamsbo.github.io/REDCapCAST/},
url = {https://github.com/agdamsbo/REDCapCAST}, url = {https://github.com/agdamsbo/REDCapCAST},
}</pre> }</pre>
</div> </div>

View File

@ -29,7 +29,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,9 +34,14 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Changelog</h1> <img src="../logo.png" class="logo" alt=""><h1>Changelog</h1>
<small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/NEWS.md" class="external-link"><code>NEWS.md</code></a></small> <small>Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
</div> </div>
<div class="section level2">
<h2 class="pkg-version" data-toc-text="24.11.4" id="redcapcast-24114">REDCapCAST 24.11.4<a class="anchor" aria-label="anchor" href="#redcapcast-24114"></a></h2>
<p>The hosting on shinyapps.io has given a lot of trouble recently. Modyfied package structure a little around the <code><a href="../reference/shiny_cast.html">shiny_cast()</a></code>, to accommodate an alternative hosting approach with all package functions included in a script instead of requiring the package.</p>
<ul><li>read_readcap_labelled():</li>
</ul></div>
<div class="section level2"> <div class="section level2">
<h2 class="pkg-version" data-toc-text="24.11.3" id="redcapcast-24113">REDCapCAST 24.11.3<a class="anchor" aria-label="anchor" href="#redcapcast-24113"></a></h2> <h2 class="pkg-version" data-toc-text="24.11.3" id="redcapcast-24113">REDCapCAST 24.11.3<a class="anchor" aria-label="anchor" href="#redcapcast-24113"></a></h2>
<ul><li>BUG: shiny_cast() fails to load as I missed loading REDCapCAST library in ui.r. Fixed. Tests would be great.</li> <ul><li>BUG: shiny_cast() fails to load as I missed loading REDCapCAST library in ui.r. Fixed. Tests would be great.</li>

View File

@ -5,7 +5,7 @@ articles:
Database-creation: Database-creation.html Database-creation: Database-creation.html
REDCapCAST: REDCapCAST.html REDCapCAST: REDCapCAST.html
Shiny-app: Shiny-app.html Shiny-app: Shiny-app.html
last_built: 2024-11-25T12:39Z last_built: 2024-11-26T13:56Z
urls: urls:
reference: https://agdamsbo.github.io/REDCapCAST/reference reference: https://agdamsbo.github.io/REDCapCAST/reference
article: https://agdamsbo.github.io/REDCapCAST/articles article: https://agdamsbo.github.io/REDCapCAST/articles

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>REDCapCAST: REDCap Castellated Data Handling and Metadata Casting — REDCapCAST-package • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="REDCapCAST: REDCap Castellated Data Handling and Metadata Casting — REDCapCAST-package"><meta name="description" content=" <!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>REDCapCAST: REDCap Metadata Casting and Castellated Data Handling — REDCapCAST-package • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="REDCapCAST: REDCap Metadata Casting and Castellated Data Handling — REDCapCAST-package"><meta name="description" content="
Casting metadata for REDCap database creation and handling of castellated data using repeated instruments and longitudinal projects in 'REDCap'. Keeps a focused data export approach, by allowing to only export required data from the database. Also for casting new REDCap databases based on datasets from other sources. Originally forked from the R part of 'REDCapRITS' by Paul Egeler. See https://github.com/pegeler/REDCapRITS. 'REDCap' (Research Electronic Data Capture) is a secure, web-based software platform designed to support data capture for research studies, providing 1) an intuitive interface for validated data capture; 2) audit trails for tracking data manipulation and export procedures; 3) automated export procedures for seamless data downloads to common statistical packages; and 4) procedures for data integration and interoperability with external sources (Harris et al (2009) doi:10.1016/j.jbi.2008.08.010 Casting metadata for REDCap database creation and handling of castellated data using repeated instruments and longitudinal projects in 'REDCap'. Keeps a focused data export approach, by allowing to only export required data from the database. Also for casting new REDCap databases based on datasets from other sources. Originally forked from the R part of 'REDCapRITS' by Paul Egeler. See https://github.com/pegeler/REDCapRITS. 'REDCap' (Research Electronic Data Capture) is a secure, web-based software platform designed to support data capture for research studies, providing 1) an intuitive interface for validated data capture; 2) audit trails for tracking data manipulation and export procedures; 3) automated export procedures for seamless data downloads to common statistical packages; and 4) procedures for data integration and interoperability with external sources (Harris et al (2009) doi:10.1016/j.jbi.2008.08.010
; Harris et al (2019) doi:10.1016/j.jbi.2019.103208 ; Harris et al (2019) doi:10.1016/j.jbi.2019.103208
)."><meta property="og:description" content=" )."><meta property="og:description" content="
@ -13,7 +13,7 @@ Casting metadata for REDCap database creation and handling of castellated data u
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -39,8 +39,8 @@ Casting metadata for REDCap database creation and handling of castellated data u
</nav><div class="container template-reference-topic"> </nav><div class="container template-reference-topic">
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>REDCapCAST: REDCap Castellated Data Handling and Metadata Casting</h1> <img src="../logo.png" class="logo" alt=""><h1>REDCapCAST: REDCap Metadata Casting and Castellated Data Handling</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/REDCapCAST-package.R" class="external-link"><code>R/REDCapCAST-package.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/REDCapCAST-package.R" class="external-link"><code>R/REDCapCAST-package.R</code></a></small>
<div class="d-none name"><code>REDCapCAST-package.Rd</code></div> <div class="d-none name"><code>REDCapCAST-package.Rd</code></div>
</div> </div>

View File

@ -11,7 +11,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -38,7 +38,7 @@ is used to determine which fields should be included in each resultant table."><
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Split REDCap repeating instruments table into multiple tables</h1> <img src="../logo.png" class="logo" alt=""><h1>Split REDCap repeating instruments table into multiple tables</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/REDCap_split.r" class="external-link"><code>R/REDCap_split.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/REDCap_split.r" class="external-link"><code>R/REDCap_split.r</code></a></small>
<div class="d-none name"><code>REDCap_split.Rd</code></div> <div class="d-none name"><code>REDCap_split.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Check if vector is all NA</h1> <img src="../logo.png" class="logo" alt=""><h1>Check if vector is all NA</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>all_na.Rd</code></div> <div class="d-none name"><code>all_na.Rd</code></div>
</div> </div>
@ -62,7 +62,7 @@
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="cn">NA</span>,<span class="fl">4</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">all_na</span><span class="op">(</span><span class="op">)</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="cn">NA</span>, <span class="fl">4</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">all_na</span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] TRUE</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] TRUE</span>
</code></pre></div> </code></pre></div>
</div> </div>

View File

@ -11,7 +11,7 @@ ta loss in case of rich formatted and labelled data.'><meta property="og:image"
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -38,7 +38,7 @@ ta loss in case of rich formatted and labelled data.'><meta property="og:image"
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Convert labelled vectors to factors while preserving attributes</h1> <img src="../logo.png" class="logo" alt=""><h1>Convert labelled vectors to factors while preserving attributes</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>as_factor.Rd</code></div> <div class="d-none name"><code>as_factor.Rd</code></div>
</div> </div>
@ -123,7 +123,8 @@ To avoid redundancy calls and errors, functions are copy-pasted here</p>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/structure.html" class="external-link">structure</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">3</span>, <span class="fl">2</span>, <span class="fl">10</span>, <span class="fl">9</span><span class="op">)</span>,</span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/structure.html" class="external-link">structure</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">3</span>, <span class="fl">2</span>, <span class="fl">10</span>, <span class="fl">9</span><span class="op">)</span>,</span></span>
<span class="r-in"><span> labels <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>Unknown <span class="op">=</span> <span class="fl">9</span>, Refused <span class="op">=</span> <span class="fl">10</span><span class="op">)</span></span></span> <span class="r-in"><span> labels <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>Unknown <span class="op">=</span> <span class="fl">9</span>, Refused <span class="op">=</span> <span class="fl">10</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">as_factor</span><span class="op">(</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dput</a></span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu">as_factor</span><span class="op">(</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dput</a></span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> structure(c(1L, 2L, 3L, 2L, 5L, 4L), levels = c("1", "2", "3", </span> <span class="r-out co"><span class="r-pr">#&gt;</span> structure(c(1L, 2L, 3L, 2L, 5L, 4L), levels = c("1", "2", "3", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "9", "10"), class = "factor", labels = c(Unknown = 9, Refused = 10</span> <span class="r-out co"><span class="r-pr">#&gt;</span> "9", "10"), class = "factor", labels = c(Unknown = 9, Refused = 10</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> ))</span> <span class="r-out co"><span class="r-pr">#&gt;</span> ))</span>

View File

@ -15,7 +15,7 @@ naming."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAS
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -42,7 +42,7 @@ naming."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAS
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>List-base regex case_when</h1> <img src="../logo.png" class="logo" alt=""><h1>List-base regex case_when</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>case_match_regex_list.Rd</code></div> <div class="d-none name"><code>case_match_regex_list.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Overview of REDCapCAST data for shiny</h1> <img src="../logo.png" class="logo" alt=""><h1>Overview of REDCapCAST data for shiny</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>cast_data_overview.Rd</code></div> <div class="d-none name"><code>cast_data_overview.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Overview of REDCapCAST meta data for shiny</h1> <img src="../logo.png" class="logo" alt=""><h1>Overview of REDCapCAST meta data for shiny</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>cast_meta_overview.Rd</code></div> <div class="d-none name"><code>cast_meta_overview.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap choices from character vector</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap choices from character vector</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>char2choice.Rd</code></div> <div class="d-none name"><code>char2choice.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap branching logic from character vector</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple function to generate REDCap branching logic from character vector</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>char2cond.Rd</code></div> <div class="d-none name"><code>char2cond.Rd</code></div>
</div> </div>

View File

@ -0,0 +1,91 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Very simple function to remove rich text formatting from field label and save the first paragraph ('&lt;p&gt;...&lt;/p&gt;'). — clean_field_label • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Very simple function to remove rich text formatting from field label and save the first paragraph ('&lt;p&gt;...&lt;/p&gt;'). — clean_field_label"><meta name="description" content="Very simple function to remove rich text formatting from field label
and save the first paragraph ('&amp;lt;p&amp;gt;...&amp;lt;/p&amp;gt;')."><meta property="og:description" content="Very simple function to remove rich text formatting from field label
and save the first paragraph ('&amp;lt;p&amp;gt;...&amp;lt;/p&amp;gt;')."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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="nav-item"><a class="nav-link" href="../articles/REDCapCAST.html">Get started</a></li>
<li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
<li class="nav-item dropdown">
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/Database-creation.html">Database-creation</a></li>
<li><a class="dropdown-item" href="../articles/Shiny-app.html">Shiny-app</a></li>
</ul></li>
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Very simple function to remove rich text formatting from field label and save the first paragraph ('&lt;p&gt;...&lt;/p&gt;').</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>clean_field_label.Rd</code></div>
</div>
<div class="ref-description section level2">
<p>Very simple function to remove rich text formatting from field label
and save the first paragraph ('&lt;p&gt;...&lt;/p&gt;').</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">clean_field_label</span><span class="op">(</span><span class="va">data</span><span class="op">)</span></span></code></pre></div>
</div>
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
<dl><dt id="arg-data">data<a class="anchor" aria-label="anchor" href="#arg-data"></a></dt>
<dd><p>field label</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
<p>character 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="fu">clean_field_label</span><span class="op">(</span><span class="st">"&lt;div class=\"rich-text-field-label\"&gt;&lt;p&gt;Fazekas score&lt;/p&gt;&lt;/div&gt;"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "Fazekas score"</span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
<p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
</div>
<div class="pkgdown-footer-right">
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.1.</p>
</div>
</footer></div>
</body></html>

View File

@ -11,7 +11,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -38,7 +38,7 @@ Trying to make up for different naming conventions."><meta property="og:image" c
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>clean_redcap_name</h1> <img src="../logo.png" class="logo" alt=""><h1>clean_redcap_name</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>clean_redcap_name.Rd</code></div> <div class="d-none name"><code>clean_redcap_name.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Compacting a vector of any length with or without names</h1> <img src="../logo.png" class="logo" alt=""><h1>Compacting a vector of any length with or without names</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>compact_vec.Rd</code></div> <div class="d-none name"><code>compact_vec.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Create two-column HTML table for data piping in REDCap instruments</h1> <img src="../logo.png" class="logo" alt=""><h1>Create two-column HTML table for data piping in REDCap instruments</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>create_html_table.Rd</code></div> <div class="d-none name"><code>create_html_table.Rd</code></div>
</div> </div>

View File

@ -13,7 +13,7 @@ production."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -40,7 +40,7 @@ production."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>DEPRICATED Create zips file with necessary content based on data set</h1> <img src="../logo.png" class="logo" alt=""><h1>DEPRICATED Create zips file with necessary content based on data set</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>create_instrument_meta.Rd</code></div> <div class="d-none name"><code>create_instrument_meta.Rd</code></div>
</div> </div>
@ -82,7 +82,8 @@ Default is TRUE.</p></dd>
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="cn">FALSE</span><span class="op">)</span> <span class="op">{</span> <span class="co"># \dontrun{</span></span></span>
<span class="r-in"><span><span class="va">data</span> <span class="op">&lt;-</span> <span class="va">iris</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span></span></span> <span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> add.auto.id <span class="op">=</span> <span class="cn">TRUE</span>,</span></span> <span class="r-in"><span> add.auto.id <span class="op">=</span> <span class="cn">TRUE</span>,</span></span>
<span class="r-in"><span> form.name <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>, <span class="st">"c"</span><span class="op">)</span>,</span></span> <span class="r-in"><span> form.name <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"b"</span>, <span class="st">"c"</span><span class="op">)</span>,</span></span>
@ -100,43 +101,10 @@ Default is TRUE.</p></dd>
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/stats/setNames.html" class="external-link">setNames</a></span><span class="op">(</span><span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(ncol(iris)),</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/stats/setNames.html" class="external-link">setNames</a></span><span class="op">(</span><span class="fu">glue</span><span class="fu">::</span><span class="fu"><a href="https://glue.tidyverse.org/reference/glue.html" class="external-link">glue</a></span><span class="op">(</span><span class="st">"{sample(x = c('a','b'),size = length(ncol(iris)),</span></span></span>
<span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(iris)}"</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span><span class="st">replace=TRUE,prob = rep(x=.5,2))}__{names(iris)}"</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>form.sep <span class="op">=</span> <span class="st">"__"</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu"><a href="ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span>form.sep <span class="op">=</span> <span class="st">"__"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $data</span> <span class="r-in"><span><span class="va">data</span> <span class="op">|&gt;</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 150 × 5</span></span> <span class="r-in"><span> <span class="fu">purrr</span><span class="fu">::</span><span class="fu"><a href="https://purrr.tidyverse.org/reference/pluck.html" class="external-link">pluck</a></span><span class="op">(</span><span class="st">"meta"</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> sepal.length sepal.width petal.length petal.width species</span> <span class="r-in"><span> <span class="fu">create_instrument_meta</span><span class="op">(</span>record.id <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;dbl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;fct&gt;</span> </span> <span class="r-in"><span><span class="op">}</span> <span class="co"># }</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 1</span> 5.1 3.5 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 2</span> 4.9 3 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 3</span> 4.7 3.2 1.3 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 4</span> 4.6 3.1 1.5 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 5</span> 5 3.6 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 6</span> 5.4 3.9 1.7 0.4 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 7</span> 4.6 3.4 1.4 0.3 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 8</span> 5 3.4 1.5 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;"> 9</span> 4.4 2.9 1.4 0.2 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">10</span> 4.9 3.1 1.5 0.1 setosa </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 140 more rows</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $meta</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 5 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> sepal.length b <span style="color: #BB0000;">NA</span> text Sepal.Length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.width b <span style="color: #BB0000;">NA</span> text Sepal.Width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> petal.length b <span style="color: #BB0000;">NA</span> text Petal.Length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.width b <span style="color: #BB0000;">NA</span> text Petal.Width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> species b <span style="color: #BB0000;">NA</span> radio Species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># branching_logic &lt;lgl&gt;, required_field &lt;lgl&gt;, custom_alignment &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># question_number &lt;lgl&gt;, matrix_group_name &lt;lgl&gt;, matrix_ranking &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># field_annotation &lt;lgl&gt;</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> attr(,"class")</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] "REDCapCAST" "list" </span>
<span class="r-in"><span><span class="co"># data |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># purrr::pluck("meta") |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># create_instrument_meta(record.id = FALSE)</span></span></span>
</code></pre></div> </code></pre></div>
</div> </div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2> </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Convert single digits to words</h1> <img src="../logo.png" class="logo" alt=""><h1>Convert single digits to words</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>d2w.Rd</code></div> <div class="d-none name"><code>d2w.Rd</code></div>
</div> </div>

View File

@ -17,7 +17,7 @@ data dictionary, but gives a few options for formatting."><meta property="og:ima
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -44,7 +44,7 @@ data dictionary, but gives a few options for formatting."><meta property="og:ima
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Doc table to data dictionary - EARLY, DOCS MISSING</h1> <img src="../logo.png" class="logo" alt=""><h1>Doc table to data dictionary - EARLY, DOCS MISSING</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>doc2dd.Rd</code></div> <div class="d-none name"><code>doc2dd.Rd</code></div>
</div> </div>

View File

@ -9,7 +9,7 @@ for a more advanced function."><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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ for a more advanced function."><meta property="og:image" content="https://agdams
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>(DEPRECATED) Data set to data dictionary function</h1> <img src="../logo.png" class="logo" alt=""><h1>(DEPRECATED) Data set to data dictionary function</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>ds2dd.Rd</code></div> <div class="d-none name"><code>ds2dd.Rd</code></div>
</div> </div>
@ -54,7 +54,7 @@ for a more advanced function.</p>
<span> field.type <span class="op">=</span> <span class="st">"text"</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> 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> include.column.names <span class="op">=</span> <span class="cn">FALSE</span>,</span>
<span> metadata <span class="op">=</span> <span class="va">metadata_names</span></span> <span> metadata <span class="op">=</span> <span class="fu">REDCapCAST</span><span class="fu">::</span><span class="fu"><a href="redcap_meta_default.html">redcap_meta_default</a></span><span class="op">(</span><span class="op">)</span></span>
<span><span class="op">)</span></span></code></pre></div> <span><span class="op">)</span></span></code></pre></div>
</div> </div>
@ -94,7 +94,7 @@ column names for original data set for upload.</p></dd>
<dt id="arg-metadata">metadata<a class="anchor" aria-label="anchor" href="#arg-metadata"></a></dt> <dt id="arg-metadata">metadata<a class="anchor" aria-label="anchor" href="#arg-metadata"></a></dt>
<dd><p>Metadata column names. Default is the included <dd><p>Metadata column names. Default is the included
REDCapCAST::metadata_names.</p></dd> REDCapCAST::redcap_meta_default.</p></dd>
</dl></div> </dl></div>
<div class="section level2"> <div class="section level2">

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Extract data from stata file for data dictionary</h1> <img src="../logo.png" class="logo" alt=""><h1>Extract data from stata file for data dictionary</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>ds2dd_detailed.Rd</code></div> <div class="d-none name"><code>ds2dd_detailed.Rd</code></div>
</div> </div>
@ -55,7 +55,7 @@
<span> field.label <span class="op">=</span> <span class="cn">NULL</span>,</span> <span> field.label <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> field.label.attr <span class="op">=</span> <span class="st">"label"</span>,</span> <span> field.label.attr <span class="op">=</span> <span class="st">"label"</span>,</span>
<span> field.validation <span class="op">=</span> <span class="cn">NULL</span>,</span> <span> field.validation <span class="op">=</span> <span class="cn">NULL</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="fu">REDCapCAST</span><span class="fu">::</span><span class="va"><a href="redcapcast_meta.html">redcapcast_meta</a></span><span class="op">)</span>,</span> <span> metadata <span class="op">=</span> <span class="fu">REDCapCAST</span><span class="fu">::</span><span class="fu"><a href="redcap_meta_default.html">redcap_meta_default</a></span><span class="op">(</span><span class="op">)</span>,</span>
<span> convert.logicals <span class="op">=</span> <span class="cn">TRUE</span></span> <span> convert.logicals <span class="op">=</span> <span class="cn">TRUE</span></span>
<span><span class="op">)</span></span></code></pre></div> <span><span class="op">)</span></span></code></pre></div>
</div> </div>
@ -120,7 +120,7 @@ file with `haven::read_dta()`).</p></dd>
<dt id="arg-metadata">metadata<a class="anchor" aria-label="anchor" href="#arg-metadata"></a></dt> <dt id="arg-metadata">metadata<a class="anchor" aria-label="anchor" href="#arg-metadata"></a></dt>
<dd><p>redcap metadata headings. Default is <dd><p>redcap metadata headings. Default is
REDCapCAST:::metadata_names.</p></dd> REDCapCAST::redcap_meta_default().</p></dd>
<dt id="arg-convert-logicals">convert.logicals<a class="anchor" aria-label="anchor" href="#arg-convert-logicals"></a></dt> <dt id="arg-convert-logicals">convert.logicals<a class="anchor" aria-label="anchor" href="#arg-convert-logicals"></a></dt>
@ -143,7 +143,8 @@ Please, do always inspect the data dictionary before upload.</p>
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co">## Basic parsing with default options</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co">## Basic parsing with default options</span></span></span>
<span class="r-in"><span><span class="fu">REDCapCAST</span><span class="fu">::</span><span class="va"><a href="redcapcast_data.html">redcapcast_data</a></span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/ns-load.html" class="external-link">requireNamespace</a></span><span class="op">(</span><span class="st">"REDCapCAST"</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">redcapcast_data</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="op">-</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://tidyselect.r-lib.org/reference/starts_with.html" class="external-link">starts_with</a></span><span class="op">(</span><span class="st">"redcap_"</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="op">-</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://tidyselect.r-lib.org/reference/starts_with.html" class="external-link">starts_with</a></span><span class="op">(</span><span class="st">"redcap_"</span><span class="op">)</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">ds2dd_detailed</span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu">ds2dd_detailed</span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $data</span> <span class="r-out co"><span class="r-pr">#&gt;</span> $data</span>
@ -322,12 +323,12 @@ Please, do always inspect the data dictionary before upload.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 6 × 18</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># A tibble: 6 × 18</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span> <span class="r-out co"><span class="r-pr">#&gt;</span> field_name form_name section_header field_type field_label </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;lgl&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> <span style="color: #949494; font-style: italic;">&lt;chr&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> record_id a <span style="color: #BB0000;">NA</span> text record_id </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">1</span> record_id b <span style="color: #BB0000;">NA</span> text record_id </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length a <span style="color: #BB0000;">NA</span> text sepal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">2</span> sepal.length a <span style="color: #BB0000;">NA</span> text sepal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width a <span style="color: #BB0000;">NA</span> text sepal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">3</span> sepal.width b <span style="color: #BB0000;">NA</span> text sepal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length b <span style="color: #BB0000;">NA</span> text petal.length</span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">4</span> petal.length a <span style="color: #BB0000;">NA</span> text petal.length</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width b <span style="color: #BB0000;">NA</span> text petal.width </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">5</span> petal.width b <span style="color: #BB0000;">NA</span> text petal.width </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species b <span style="color: #BB0000;">NA</span> radio species </span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #BCBCBC;">6</span> species a <span style="color: #BB0000;">NA</span> radio species </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># 13 more variables: select_choices_or_calculations &lt;chr&gt;, field_note &lt;lgl&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_type_or_show_slider_number &lt;chr&gt;,</span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span> <span class="r-out co"><span class="r-pr">#&gt;</span> <span style="color: #949494;"># text_validation_min &lt;lgl&gt;, text_validation_max &lt;lgl&gt;, identifier &lt;lgl&gt;,</span></span>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Secure API key storage and data acquisition in one</h1> <img src="../logo.png" class="logo" alt=""><h1>Secure API key storage and data acquisition in one</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>easy_redcap.Rd</code></div> <div class="d-none name"><code>easy_redcap.Rd</code></div>
</div> </div>

View File

@ -13,7 +13,7 @@ production."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -40,7 +40,7 @@ production."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Creates zip-file with necessary content to manually add instrument to database</h1> <img src="../logo.png" class="logo" alt=""><h1>Creates zip-file with necessary content to manually add instrument to database</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/export_redcap_instrument.R" class="external-link"><code>R/export_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>export_redcap_instrument.Rd</code></div> <div class="d-none name"><code>export_redcap_instrument.Rd</code></div>
</div> </div>
@ -85,7 +85,7 @@ just using the first.</p></dd>
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co">#iris |&gt;</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co"># iris |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span> <span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span>
<span class="r-in"><span><span class="co"># add.auto.id = TRUE,</span></span></span> <span class="r-in"><span><span class="co"># add.auto.id = TRUE,</span></span></span>
<span class="r-in"><span><span class="co"># form.name = sample(c("b", "c"), size = 6, replace = TRUE, prob = rep(.5, 2))</span></span></span> <span class="r-in"><span><span class="co"># form.name = sample(c("b", "c"), size = 6, replace = TRUE, prob = rep(.5, 2))</span></span></span>
@ -98,7 +98,7 @@ just using the first.</p></dd>
<span class="r-in"><span><span class="co"># export_redcap_instrument(.x,file=here::here(paste0(.i,Sys.Date(),".zip")))</span></span></span> <span class="r-in"><span><span class="co"># export_redcap_instrument(.x,file=here::here(paste0(.i,Sys.Date(),".zip")))</span></span></span>
<span class="r-in"><span><span class="co"># })</span></span></span> <span class="r-in"><span><span class="co"># })</span></span></span>
<span class="r-in"><span></span></span> <span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co">#iris |&gt;</span></span></span> <span class="r-in"><span><span class="co"># iris |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span> <span class="r-in"><span><span class="co"># ds2dd_detailed(</span></span></span>
<span class="r-in"><span><span class="co"># add.auto.id = TRUE</span></span></span> <span class="r-in"><span><span class="co"># add.auto.id = TRUE</span></span></span>
<span class="r-in"><span><span class="co"># ) |&gt;</span></span></span> <span class="r-in"><span><span class="co"># ) |&gt;</span></span></span>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Allows conversion of factor to numeric values preserving original levels</h1> <img src="../logo.png" class="logo" alt=""><h1>Allows conversion of factor to numeric values preserving original levels</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>fct2num.Rd</code></div> <div class="d-none name"><code>fct2num.Rd</code></div>
</div> </div>
@ -91,16 +91,16 @@
<span class="r-in"><span><span class="co"># as_factor() |&gt;</span></span></span> <span class="r-in"><span><span class="co"># as_factor() |&gt;</span></span></span>
<span class="r-in"><span><span class="co"># fct2num()</span></span></span> <span class="r-in"><span><span class="co"># fct2num()</span></span></span>
<span class="r-in"><span></span></span> <span class="r-in"><span></span></span>
<span class="r-in"><span><span class="va">v</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fl">6</span><span class="op">:</span><span class="fl">19</span>,<span class="fl">20</span>,<span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html" class="external-link">factor</a></span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="va">v</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fl">6</span><span class="op">:</span><span class="fl">19</span>, <span class="fl">20</span>, <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html" class="external-link">factor</a></span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dput</a></span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dput</a></span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> structure(c(10L, 9L, 3L, 2L, 6L, 9L, 3L, 5L, 4L, 9L, 1L, 6L, </span> <span class="r-out co"><span class="r-pr">#&gt;</span> structure(c(7L, 1L, 10L, 3L, 10L, 10L, 9L, 8L, 3L, 2L, 6L, 8L, </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 5L, 5L, 3L, 8L, 2L, 7L, 1L, 11L), levels = c("6", "7", "8", "9", </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 3L, 5L, 4L, 8L, 1L, 6L, 5L, 5L), levels = c("6", "7", "8", "9", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "11", "12", "13", "14", "15", "16", "17"), class = "factor")</span> <span class="r-out co"><span class="r-pr">#&gt;</span> "11", "12", "13", "15", "16", "17"), class = "factor")</span>
<span class="r-in"><span><span class="fu"><a href="named_levels.html">named_levels</a></span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu"><a href="named_levels.html">named_levels</a></span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 16 15 8 7 12 11 9 6 14 13 17 </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 13 6 17 8 16 15 7 12 11 9 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 10 9 3 2 6 5 4 1 8 7 11 </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 7 1 10 3 9 8 2 6 5 4 </span>
<span class="r-in"><span><span class="fu">fct2num</span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu">fct2num</span><span class="op">(</span><span class="va">v</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 16 15 8 7 12 15 8 11 9 15 6 12 11 11 8 14 7 13 6 17</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] 13 6 17 8 17 17 16 15 8 7 12 15 8 11 9 15 6 12 11 11</span>
</code></pre></div> </code></pre></div>
</div> </div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2> </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>DEPRECATED Helper to import files correctly</h1> <img src="../logo.png" class="logo" alt=""><h1>DEPRECATED Helper to import files correctly</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>file_extension.Rd</code></div> <div class="d-none name"><code>file_extension.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>focused_metadata</h1> <img src="../logo.png" class="logo" alt=""><h1>focused_metadata</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>focused_metadata.Rd</code></div> <div class="d-none name"><code>focused_metadata.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Sub-header formatting wrapper</h1> <img src="../logo.png" class="logo" alt=""><h1>Sub-header formatting wrapper</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>format_subheader.Rd</code></div> <div class="d-none name"><code>format_subheader.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Retrieve project API key if stored, if not, set and retrieve</h1> <img src="../logo.png" class="logo" alt=""><h1>Retrieve project API key if stored, if not, set and retrieve</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>get_api_key.Rd</code></div> <div class="d-none name"><code>get_api_key.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Extract attribute. Returns NA if none</h1> <img src="../logo.png" class="logo" alt=""><h1>Extract attribute. Returns NA if none</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>get_attr.Rd</code></div> <div class="d-none name"><code>get_attr.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Get the id name</h1> <img src="../logo.png" class="logo" alt=""><h1>Get the id name</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>get_id_name.Rd</code></div> <div class="d-none name"><code>get_id_name.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Guess time variables based on naming pattern</h1> <img src="../logo.png" class="logo" alt=""><h1>Guess time variables based on naming pattern</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>guess_time_only.Rd</code></div> <div class="d-none name"><code>guess_time_only.Rd</code></div>
</div> </div>

View File

@ -13,7 +13,7 @@ has to be converted to character class before REDCap upload.'><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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -40,7 +40,7 @@ has to be converted to character class before REDCap upload.'><meta property="og
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Try at determining which are true time only variables</h1> <img src="../logo.png" class="logo" alt=""><h1>Try at determining which are true time only variables</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>guess_time_only_filter.Rd</code></div> <div class="d-none name"><code>guess_time_only_filter.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Finish incomplete haven attributes substituting missings with values</h1> <img src="../logo.png" class="logo" alt=""><h1>Finish incomplete haven attributes substituting missings with values</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>haven_all_levels.Rd</code></div> <div class="d-none name"><code>haven_all_levels.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Change "hms" to "character" for REDCap upload.</h1> <img src="../logo.png" class="logo" alt=""><h1>Change "hms" to "character" for REDCap upload.</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>hms2character.Rd</code></div> <div class="d-none name"><code>hms2character.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Simple html tag wrapping for REDCap text formatting</h1> <img src="../logo.png" class="logo" alt=""><h1>Simple html tag wrapping for REDCap text formatting</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/html_styling.R" class="external-link"><code>R/html_styling.R</code></a></small>
<div class="d-none name"><code>html_tag_wrap.Rd</code></div> <div class="d-none name"><code>html_tag_wrap.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -97,6 +97,12 @@
<dd>Simple function to generate REDCap branching logic from character vector</dd> <dd>Simple function to generate REDCap branching logic from character vector</dd>
</dl><dl><dt> </dl><dl><dt>
<code><a href="clean_field_label.html">clean_field_label()</a></code>
</dt>
<dd>Very simple function to remove rich text formatting from field label and save the first paragraph ('&lt;p&gt;...&lt;/p&gt;').</dd>
</dl><dl><dt>
<code><a href="clean_redcap_name.html">clean_redcap_name()</a></code> <code><a href="clean_redcap_name.html">clean_redcap_name()</a></code>
</dt> </dt>
@ -331,12 +337,24 @@
<dd>Convenience function to download complete instrument, using token storage in keyring.</dd> <dd>Convenience function to download complete instrument, using token storage in keyring.</dd>
</dl><dl><dt> </dl><dl><dt>
<code><a href="read_redcap_labelled.html">read_redcap_labelled()</a></code>
</dt>
<dd>REDCap read function to preserve field labels and all factor levels</dd>
</dl><dl><dt>
<code><a href="read_redcap_tables.html">read_redcap_tables()</a></code> <code><a href="read_redcap_tables.html">read_redcap_tables()</a></code>
</dt> </dt>
<dd>Download REDCap data</dd> <dd>Download REDCap data</dd>
</dl><dl><dt> </dl><dl><dt>
<code><a href="redcap_meta_default.html">redcap_meta_default()</a></code>
</dt>
<dd>Default column names of a REDCap data dictionary</dd>
</dl><dl><dt>
<code><a href="redcap_wider.html">redcap_wider()</a></code> <code><a href="redcap_wider.html">redcap_wider()</a></code>
</dt> </dt>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Multi missing check</h1> <img src="../logo.png" class="logo" alt=""><h1>Multi missing check</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>is_missing.Rd</code></div> <div class="d-none name"><code>is_missing.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Test if repeatable or longitudinal</h1> <img src="../logo.png" class="logo" alt=""><h1>Test if repeatable or longitudinal</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>is_repeated_longitudinal.Rd</code></div> <div class="d-none name"><code>is_repeated_longitudinal.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Completion marking based on completed upload</h1> <img src="../logo.png" class="logo" alt=""><h1>Completion marking based on completed upload</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>mark_complete.Rd</code></div> <div class="d-none name"><code>mark_complete.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Match fields to forms</h1> <img src="../logo.png" class="logo" alt=""><h1>Match fields to forms</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>match_fields_to_form.Rd</code></div> <div class="d-none name"><code>match_fields_to_form.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>mtcars dataset slightly modified to use for Shiny app upload demonstration</h1> <img src="../logo.png" class="logo" alt=""><h1>mtcars dataset slightly modified to use for Shiny app upload demonstration</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/mtcars_redcap.R" class="external-link"><code>R/mtcars_redcap.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/mtcars_redcap.R" class="external-link"><code>R/mtcars_redcap.R</code></a></small>
<div class="d-none name"><code>mtcars_redcap.Rd</code></div> <div class="d-none name"><code>mtcars_redcap.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Get named vector of factor levels and values</h1> <img src="../logo.png" class="logo" alt=""><h1>Get named vector of factor levels and values</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>named_levels.Rd</code></div> <div class="d-none name"><code>named_levels.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Nav_bar defining function for shiny ui</h1> <img src="../logo.png" class="logo" alt=""><h1>Nav_bar defining function for shiny ui</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>nav_bar_page.Rd</code></div> <div class="d-none name"><code>nav_bar_page.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Applying var2fct across data set</h1> <img src="../logo.png" class="logo" alt=""><h1>Applying var2fct across data set</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>numchar2fct.Rd</code></div> <div class="d-none name"><code>numchar2fct.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Helper to auto-parse un-formatted data with haven and readr</h1> <img src="../logo.png" class="logo" alt=""><h1>Helper to auto-parse un-formatted data with haven and readr</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>parse_data.Rd</code></div> <div class="d-none name"><code>parse_data.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Test if vector can be interpreted as roman numerals</h1> <img src="../logo.png" class="logo" alt=""><h1>Test if vector can be interpreted as roman numerals</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>possibly_roman.Rd</code></div> <div class="d-none name"><code>possibly_roman.Rd</code></div>
</div> </div>
@ -62,11 +62,13 @@
<div class="section level2"> <div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2> <h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fl">1</span><span class="op">:</span><span class="fl">100</span>,<span class="fl">10</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu"><a href="https://rdrr.io/r/utils/roman.html" class="external-link">as.roman</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span> <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fl">1</span><span class="op">:</span><span class="fl">100</span>, <span class="fl">10</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/utils/roman.html" class="external-link">as.roman</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] TRUE</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] TRUE</span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="cn">TRUE</span>,<span class="cn">FALSE</span><span class="op">)</span>,<span class="fl">10</span>,<span class="cn">TRUE</span><span class="op">)</span><span class="op">|&gt;</span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="cn">TRUE</span>, <span class="cn">FALSE</span><span class="op">)</span>, <span class="fl">10</span>, <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="cn">NA</span>,<span class="fl">10</span><span class="op">)</span><span class="op">|&gt;</span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span class="op">(</span><span class="cn">NA</span>, <span class="fl">10</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">possibly_roman</span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span>
</code></pre></div> </code></pre></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>User input processing character</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing character</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.character.Rd</code></div> <div class="d-none name"><code>process_user_input.character.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>User input processing data.frame</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing data.frame</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.data.frame.Rd</code></div> <div class="d-none name"><code>process_user_input.data.frame.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>User input processing default</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing default</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.default.Rd</code></div> <div class="d-none name"><code>process_user_input.default.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>User input processing</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.Rd</code></div> <div class="d-none name"><code>process_user_input.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>User input processing response</h1> <img src="../logo.png" class="logo" alt=""><h1>User input processing response</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/process_user_input.r" class="external-link"><code>R/process_user_input.r</code></a></small>
<div class="d-none name"><code>process_user_input.response.Rd</code></div> <div class="d-none name"><code>process_user_input.response.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Flexible file import based on extension</h1> <img src="../logo.png" class="logo" alt=""><h1>Flexible file import based on extension</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>read_input.Rd</code></div> <div class="d-none name"><code>read_input.Rd</code></div>
</div> </div>

View File

@ -9,7 +9,7 @@ in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCa
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Convenience function to download complete instrument, using token storage in keyring.</h1> <img src="../logo.png" class="logo" alt=""><h1>Convenience function to download complete instrument, using token storage in keyring.</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/read_redcap_instrument.R" class="external-link"><code>R/read_redcap_instrument.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/read_redcap_instrument.R" class="external-link"><code>R/read_redcap_instrument.R</code></a></small>
<div class="d-none name"><code>read_redcap_instrument.Rd</code></div> <div class="d-none name"><code>read_redcap_instrument.Rd</code></div>
</div> </div>

View File

@ -0,0 +1,115 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>REDCap read function to preserve field labels and all factor levels — read_redcap_labelled • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="REDCap read function to preserve field labels and all factor levels — read_redcap_labelled"><meta name="description" content="This works very much as `read_redcap_tables()` and might end up there"><meta property="og:description" content="This works very much as `read_redcap_tables()` and might end up there"><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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="nav-item"><a class="nav-link" href="../articles/REDCapCAST.html">Get started</a></li>
<li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
<li class="nav-item dropdown">
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/Database-creation.html">Database-creation</a></li>
<li><a class="dropdown-item" href="../articles/Shiny-app.html">Shiny-app</a></li>
</ul></li>
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>REDCap read function to preserve field labels and all factor levels</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/easy_redcap.R" class="external-link"><code>R/easy_redcap.R</code></a></small>
<div class="d-none name"><code>read_redcap_labelled.Rd</code></div>
</div>
<div class="ref-description section level2">
<p>This works very much as `read_redcap_tables()` and might end up there</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">read_redcap_labelled</span><span class="op">(</span></span>
<span> <span class="va">uri</span>,</span>
<span> <span class="va">token</span>,</span>
<span> records <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> fields <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> events <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> forms <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span> split_forms <span class="op">=</span> <span class="st">"all"</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 id="arg-uri">uri<a class="anchor" aria-label="anchor" href="#arg-uri"></a></dt>
<dd><p>REDCap database API uri</p></dd>
<dt id="arg-token">token<a class="anchor" aria-label="anchor" href="#arg-token"></a></dt>
<dd><p>API token</p></dd>
<dt id="arg-records">records<a class="anchor" aria-label="anchor" href="#arg-records"></a></dt>
<dd><p>records to download</p></dd>
<dt id="arg-fields">fields<a class="anchor" aria-label="anchor" href="#arg-fields"></a></dt>
<dd><p>fields to download</p></dd>
<dt id="arg-events">events<a class="anchor" aria-label="anchor" href="#arg-events"></a></dt>
<dd><p>events to download</p></dd>
<dt id="arg-forms">forms<a class="anchor" aria-label="anchor" href="#arg-forms"></a></dt>
<dd><p>forms to download</p></dd>
<dt id="arg-split-forms">split_forms<a class="anchor" aria-label="anchor" href="#arg-split-forms"></a></dt>
<dd><p>Whether to split "repeating" or "all" forms, default is
"all".</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</p>
</div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
<p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
</div>
<div class="pkgdown-footer-right">
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.1.</p>
</div>
</footer></div>
</body></html>

View File

@ -15,7 +15,7 @@ instruments."><meta property="og:image" content="https://agdamsbo.github.io/REDC
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -42,7 +42,7 @@ instruments."><meta property="og:image" content="https://agdamsbo.github.io/REDC
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Download REDCap data</h1> <img src="../logo.png" class="logo" alt=""><h1>Download REDCap data</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/read_redcap_tables.R" class="external-link"><code>R/read_redcap_tables.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/read_redcap_tables.R" class="external-link"><code>R/read_redcap_tables.R</code></a></small>
<div class="d-none name"><code>read_redcap_tables.Rd</code></div> <div class="d-none name"><code>read_redcap_tables.Rd</code></div>
</div> </div>

View File

@ -0,0 +1,93 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Default column names of a REDCap data dictionary — redcap_meta_default • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Default column names of a REDCap data dictionary — redcap_meta_default"><meta name="description" content="Default column names of a REDCap data dictionary"><meta property="og:description" content="Default column names of a REDCap data dictionary"><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
<nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container">
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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="nav-item"><a class="nav-link" href="../articles/REDCapCAST.html">Get started</a></li>
<li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li>
<li class="nav-item dropdown">
<button class="nav-link dropdown-toggle" type="button" id="dropdown-articles" data-bs-toggle="dropdown" aria-expanded="false" aria-haspopup="true">Articles</button>
<ul class="dropdown-menu" aria-labelledby="dropdown-articles"><li><a class="dropdown-item" href="../articles/Database-creation.html">Database-creation</a></li>
<li><a class="dropdown-item" href="../articles/Shiny-app.html">Shiny-app</a></li>
</ul></li>
<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li>
</ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search">
<input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li>
<li class="nav-item"><a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li>
</ul></div>
</div>
</nav><div class="container template-reference-topic">
<div class="row">
<main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Default column names of a REDCap data dictionary</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>redcap_meta_default.Rd</code></div>
</div>
<div class="ref-description section level2">
<p>Default column names of a REDCap data dictionary</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">redcap_meta_default</span><span class="op">(</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 id="arg--">...<a class="anchor" aria-label="anchor" href="#arg--"></a></dt>
<dd><p>ignored for now</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
<p>character 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="fu"><a href="https://rdrr.io/r/base/dput.html" class="external-link">dput</a></span><span class="op">(</span><span class="fu">redcap_meta_default</span><span class="op">(</span><span class="op">)</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> c("field_name", "form_name", "section_header", "field_type", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "field_label", "select_choices_or_calculations", "field_note", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "text_validation_type_or_show_slider_number", "text_validation_min", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "text_validation_max", "identifier", "branching_logic", "required_field", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "custom_alignment", "question_number", "matrix_group_name", "matrix_ranking", </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> "field_annotation")</span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>
<footer><div class="pkgdown-footer-left">
<p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
</div>
<div class="pkgdown-footer-right">
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.1.</p>
</div>
</footer></div>
</body></html>

View File

@ -9,7 +9,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ Handles longitudinal projects, but not yet repeated instruments."><meta property
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Redcap Wider</h1> <img src="../logo.png" class="logo" alt=""><h1>Redcap Wider</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/redcap_wider.R" class="external-link"><code>R/redcap_wider.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcap_wider.R" class="external-link"><code>R/redcap_wider.R</code></a></small>
<div class="d-none name"><code>redcap_wider.Rd</code></div> <div class="d-none name"><code>redcap_wider.Rd</code></div>
</div> </div>

View File

@ -9,7 +9,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ Contains only synthetic data."><meta property="og:image" content="https://agdams
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Data set for demonstration</h1> <img src="../logo.png" class="logo" alt=""><h1>Data set for demonstration</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/redcapcast_data.R" class="external-link"><code>R/redcapcast_data.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcapcast_data.R" class="external-link"><code>R/redcapcast_data.R</code></a></small>
<div class="d-none name"><code>redcapcast_data.Rd</code></div> <div class="d-none name"><code>redcapcast_data.Rd</code></div>
</div> </div>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>REDCap metadata from data base — redcapcast_meta • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="REDCap metadata from data base — redcapcast_meta"><meta name="description" content="This metadata dataset from a REDCap database is for demonstrational purposes."><meta property="og:description" content="This metadata dataset from a REDCap database is for demonstrational purposes."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body> <!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>REDCap metadata from data base — redcapcast_meta • REDCapCAST</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="REDCap metadata from data base — redcapcast_meta"><meta name="description" content="This metadata dataset from a REDCap database is for demonstration purposes."><meta property="og:description" content="This metadata dataset from a REDCap database is for demonstration purposes."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a> <a href="#main" class="visually-hidden-focusable">Skip to contents</a>
@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,12 +34,12 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>REDCap metadata from data base</h1> <img src="../logo.png" class="logo" alt=""><h1>REDCap metadata from data base</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/redcapcast_meta.R" class="external-link"><code>R/redcapcast_meta.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/redcapcast_meta.R" class="external-link"><code>R/redcapcast_meta.R</code></a></small>
<div class="d-none name"><code>redcapcast_meta.Rd</code></div> <div class="d-none name"><code>redcapcast_meta.Rd</code></div>
</div> </div>
<div class="ref-description section level2"> <div class="ref-description section level2">
<p>This metadata dataset from a REDCap database is for demonstrational purposes.</p> <p>This metadata dataset from a REDCap database is for demonstration purposes.</p>
</div> </div>
<div class="section level2"> <div class="section level2">

View File

@ -9,7 +9,7 @@ on CRAN. Github:https://github.com/trinker/textclean"><meta property="og:image"
<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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ on CRAN. Github:https://github.com/trinker/textclean"><meta property="og:image"
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Replace curly apostrophes and quotes from word</h1> <img src="../logo.png" class="logo" alt=""><h1>Replace curly apostrophes and quotes from word</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/doc2dd.R" class="external-link"><code>R/doc2dd.R</code></a></small>
<div class="d-none name"><code>replace_curly_quote.Rd</code></div> <div class="d-none name"><code>replace_curly_quote.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Sanitize list of data frames</h1> <img src="../logo.png" class="logo" alt=""><h1>Sanitize list of data frames</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>sanitize_split.Rd</code></div> <div class="d-none name"><code>sanitize_split.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Set attributes for named attribute. Appends if attr is NULL</h1> <img src="../logo.png" class="logo" alt=""><h1>Set attributes for named attribute. Appends if attr is NULL</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/as_factor.R" class="external-link"><code>R/as_factor.R</code></a></small>
<div class="d-none name"><code>set_attr.Rd</code></div> <div class="d-none name"><code>set_attr.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Launch the included Shiny-app for database casting and upload</h1> <img src="../logo.png" class="logo" alt=""><h1>Launch the included Shiny-app for database casting and upload</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/shiny_cast.R" class="external-link"><code>R/shiny_cast.R</code></a></small>
<div class="d-none name"><code>shiny_cast.Rd</code></div> <div class="d-none name"><code>shiny_cast.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Split a data frame into separate tables for each form</h1> <img src="../logo.png" class="logo" alt=""><h1>Split a data frame into separate tables for each form</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>split_non_repeating_forms.Rd</code></div> <div class="d-none name"><code>split_non_repeating_forms.Rd</code></div>
</div> </div>

View File

@ -9,7 +9,7 @@ easing the split around the defined delimiter, see example."><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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ easing the split around the defined delimiter, see example."><meta property="og:
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Extended string splitting</h1> <img src="../logo.png" class="logo" alt=""><h1>Extended string splitting</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/utils.r" class="external-link"><code>R/utils.r</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/utils.r" class="external-link"><code>R/utils.r</code></a></small>
<div class="d-none name"><code>strsplitx.Rd</code></div> <div class="d-none name"><code>strsplitx.Rd</code></div>
</div> </div>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Correction based on time_only_filter function</h1> <img src="../logo.png" class="logo" alt=""><h1>Correction based on time_only_filter function</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>time_only_correction.Rd</code></div> <div class="d-none name"><code>time_only_correction.Rd</code></div>
</div> </div>

View File

@ -9,7 +9,7 @@ factoring, but levels character vectors in order of appearance."><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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -36,7 +36,7 @@ factoring, but levels character vectors in order of appearance."><meta property=
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Convert vector to factor based on threshold of number of unique levels</h1> <img src="../logo.png" class="logo" alt=""><h1>Convert vector to factor based on threshold of number of unique levels</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>var2fct.Rd</code></div> <div class="d-none name"><code>var2fct.Rd</code></div>
</div> </div>
@ -73,16 +73,16 @@ factoring, but levels character vectors in order of appearance.</p>
<span class="r-in"><span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 2 3 4 </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 1 2 3 4 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 7 3 6 4 </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 9 2 6 3 </span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="va">letters</span>, <span class="fl">20</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="va">letters</span>, <span class="fl">20</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span> <span class="op">|&gt;</span></span></span> <span class="r-in"><span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span> <span class="op">|&gt;</span></span></span>
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> Length Class Mode </span> <span class="r-out co"><span class="r-pr">#&gt;</span> Length Class Mode </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 20 character character </span> <span class="r-out co"><span class="r-pr">#&gt;</span> 20 character character </span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="va">letters</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">4</span><span class="op">]</span>, <span class="fl">20</span>, <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="va">letters</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">4</span><span class="op">]</span>, <span class="fl">20</span>, <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|&gt;</span> <span class="fu">var2fct</span><span class="op">(</span><span class="fl">6</span><span class="op">)</span></span></span>
<span class="r-wrn co"><span class="r-pr">#&gt;</span> <span class="warning">Warning: </span>invalid roman numerals: a a b b b a b b a</span> <span class="r-wrn co"><span class="r-pr">#&gt;</span> <span class="warning">Warning: </span>invalid roman numerals: a b a a a a b</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] a c c a b c d c c b d b a d d c b d b a</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [1] c d c d a b d a d c a d a c c a b c d c</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> Levels: a c b d</span> <span class="r-out co"><span class="r-pr">#&gt;</span> Levels: c d a b</span>
</code></pre></div> </code></pre></div>
</div> </div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2> </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>

View File

@ -7,7 +7,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="">24.11.3</small> <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.11.4</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">
@ -34,7 +34,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Named vector to REDCap choices (`wrapping compact_vec()`)</h1> <img src="../logo.png" class="logo" alt=""><h1>Named vector to REDCap choices (`wrapping compact_vec()`)</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/v24.11.3/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/main/R/ds2dd_detailed.R" class="external-link"><code>R/ds2dd_detailed.R</code></a></small>
<div class="d-none name"><code>vec2choice.Rd</code></div> <div class="d-none name"><code>vec2choice.Rd</code></div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -18,6 +18,7 @@
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/cast_meta_overview.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/cast_meta_overview.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/char2choice.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/char2choice.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/char2cond.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/char2cond.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_field_label.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_redcap_name.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/clean_redcap_name.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/compact_vec.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/compact_vec.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/create_html_table.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/create_html_table.html</loc></url>
@ -58,7 +59,9 @@
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/process_user_input.response.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/process_user_input.response.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_input.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_input.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_redcap_instrument.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_redcap_instrument.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_redcap_labelled.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_redcap_tables.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/read_redcap_tables.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcap_meta_default.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcap_wider.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcap_wider.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcapcast_data.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcapcast_data.html</loc></url>
<url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcapcast_meta.html</loc></url> <url><loc>https://agdamsbo.github.io/REDCapCAST/reference/redcapcast_meta.html</loc></url>