Compare commits

..

No commits in common. "26da8f4460e84f398c6f13002aa27abe45ae2cff" and "f444379ae86a67ccd45e464dee1d0fe8d498d12e" have entirely different histories.

6 changed files with 112 additions and 113 deletions

View File

@ -98,23 +98,23 @@ demonstration of the functions.</p>
</h2>
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">redcapcast_data</span> <span class="op">|&gt;</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="ceabgzbvbg" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#ceabgzbvbg table {
<div id="qqbpbmxcsj" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#qqbpbmxcsj 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;
}
#ceabgzbvbg thead, #ceabgzbvbg tbody, #ceabgzbvbg tfoot, #ceabgzbvbg tr, #ceabgzbvbg td, #ceabgzbvbg th {
#qqbpbmxcsj thead, #qqbpbmxcsj tbody, #qqbpbmxcsj tfoot, #qqbpbmxcsj tr, #qqbpbmxcsj td, #qqbpbmxcsj th {
border-style: none;
}
#ceabgzbvbg p {
#qqbpbmxcsj p {
margin: 0;
padding: 0;
}
#ceabgzbvbg .gt_table {
#qqbpbmxcsj .gt_table {
display: table;
border-collapse: collapse;
line-height: normal;
@ -140,12 +140,12 @@ demonstration of the functions.</p>
border-left-color: #D3D3D3;
}
#ceabgzbvbg .gt_caption {
#qqbpbmxcsj .gt_caption {
padding-top: 4px;
padding-bottom: 4px;
}
#ceabgzbvbg .gt_title {
#qqbpbmxcsj .gt_title {
color: #333333;
font-size: 125%;
font-weight: initial;
@ -157,7 +157,7 @@ demonstration of the functions.</p>
border-bottom-width: 0;
}
#ceabgzbvbg .gt_subtitle {
#qqbpbmxcsj .gt_subtitle {
color: #333333;
font-size: 85%;
font-weight: initial;
@ -169,7 +169,7 @@ demonstration of the functions.</p>
border-top-width: 0;
}
#ceabgzbvbg .gt_heading {
#qqbpbmxcsj .gt_heading {
background-color: #FFFFFF;
text-align: center;
border-bottom-color: #FFFFFF;
@ -181,13 +181,13 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ceabgzbvbg .gt_bottom_border {
#qqbpbmxcsj .gt_bottom_border {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#ceabgzbvbg .gt_col_headings {
#qqbpbmxcsj .gt_col_headings {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
@ -202,7 +202,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ceabgzbvbg .gt_col_heading {
#qqbpbmxcsj .gt_col_heading {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -222,7 +222,7 @@ demonstration of the functions.</p>
overflow-x: hidden;
}
#ceabgzbvbg .gt_column_spanner_outer {
#qqbpbmxcsj .gt_column_spanner_outer {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -234,15 +234,15 @@ demonstration of the functions.</p>
padding-right: 4px;
}
#ceabgzbvbg .gt_column_spanner_outer:first-child {
#qqbpbmxcsj .gt_column_spanner_outer:first-child {
padding-left: 0;
}
#ceabgzbvbg .gt_column_spanner_outer:last-child {
#qqbpbmxcsj .gt_column_spanner_outer:last-child {
padding-right: 0;
}
#ceabgzbvbg .gt_column_spanner {
#qqbpbmxcsj .gt_column_spanner {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
@ -254,11 +254,11 @@ demonstration of the functions.</p>
width: 100%;
}
#ceabgzbvbg .gt_spanner_row {
#qqbpbmxcsj .gt_spanner_row {
border-bottom-style: hidden;
}
#ceabgzbvbg .gt_group_heading {
#qqbpbmxcsj .gt_group_heading {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -284,7 +284,7 @@ demonstration of the functions.</p>
text-align: left;
}
#ceabgzbvbg .gt_empty_group_heading {
#qqbpbmxcsj .gt_empty_group_heading {
padding: 0.5px;
color: #333333;
background-color: #FFFFFF;
@ -299,15 +299,15 @@ demonstration of the functions.</p>
vertical-align: middle;
}
#ceabgzbvbg .gt_from_md > :first-child {
#qqbpbmxcsj .gt_from_md > :first-child {
margin-top: 0;
}
#ceabgzbvbg .gt_from_md > :last-child {
#qqbpbmxcsj .gt_from_md > :last-child {
margin-bottom: 0;
}
#ceabgzbvbg .gt_row {
#qqbpbmxcsj .gt_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -326,7 +326,7 @@ demonstration of the functions.</p>
overflow-x: hidden;
}
#ceabgzbvbg .gt_stub {
#qqbpbmxcsj .gt_stub {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -339,7 +339,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ceabgzbvbg .gt_stub_row_group {
#qqbpbmxcsj .gt_stub_row_group {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -353,15 +353,15 @@ demonstration of the functions.</p>
vertical-align: top;
}
#ceabgzbvbg .gt_row_group_first td {
#qqbpbmxcsj .gt_row_group_first td {
border-top-width: 2px;
}
#ceabgzbvbg .gt_row_group_first th {
#qqbpbmxcsj .gt_row_group_first th {
border-top-width: 2px;
}
#ceabgzbvbg .gt_summary_row {
#qqbpbmxcsj .gt_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
@ -371,16 +371,16 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ceabgzbvbg .gt_first_summary_row {
#qqbpbmxcsj .gt_first_summary_row {
border-top-style: solid;
border-top-color: #D3D3D3;
}
#ceabgzbvbg .gt_first_summary_row.thick {
#qqbpbmxcsj .gt_first_summary_row.thick {
border-top-width: 2px;
}
#ceabgzbvbg .gt_last_summary_row {
#qqbpbmxcsj .gt_last_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -390,7 +390,7 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ceabgzbvbg .gt_grand_summary_row {
#qqbpbmxcsj .gt_grand_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
@ -400,7 +400,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ceabgzbvbg .gt_first_grand_summary_row {
#qqbpbmxcsj .gt_first_grand_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -410,7 +410,7 @@ demonstration of the functions.</p>
border-top-color: #D3D3D3;
}
#ceabgzbvbg .gt_last_grand_summary_row_top {
#qqbpbmxcsj .gt_last_grand_summary_row_top {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -420,11 +420,11 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ceabgzbvbg .gt_striped {
#qqbpbmxcsj .gt_striped {
background-color: rgba(128, 128, 128, 0.05);
}
#ceabgzbvbg .gt_table_body {
#qqbpbmxcsj .gt_table_body {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
@ -433,7 +433,7 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ceabgzbvbg .gt_footnotes {
#qqbpbmxcsj .gt_footnotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
@ -447,7 +447,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ceabgzbvbg .gt_footnote {
#qqbpbmxcsj .gt_footnote {
margin: 0px;
font-size: 90%;
padding-top: 4px;
@ -456,7 +456,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ceabgzbvbg .gt_sourcenotes {
#qqbpbmxcsj .gt_sourcenotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
@ -470,7 +470,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ceabgzbvbg .gt_sourcenote {
#qqbpbmxcsj .gt_sourcenote {
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
@ -478,63 +478,63 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ceabgzbvbg .gt_left {
#qqbpbmxcsj .gt_left {
text-align: left;
}
#ceabgzbvbg .gt_center {
#qqbpbmxcsj .gt_center {
text-align: center;
}
#ceabgzbvbg .gt_right {
#qqbpbmxcsj .gt_right {
text-align: right;
font-variant-numeric: tabular-nums;
}
#ceabgzbvbg .gt_font_normal {
#qqbpbmxcsj .gt_font_normal {
font-weight: normal;
}
#ceabgzbvbg .gt_font_bold {
#qqbpbmxcsj .gt_font_bold {
font-weight: bold;
}
#ceabgzbvbg .gt_font_italic {
#qqbpbmxcsj .gt_font_italic {
font-style: italic;
}
#ceabgzbvbg .gt_super {
#qqbpbmxcsj .gt_super {
font-size: 65%;
}
#ceabgzbvbg .gt_footnote_marks {
#qqbpbmxcsj .gt_footnote_marks {
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
#ceabgzbvbg .gt_asterisk {
#qqbpbmxcsj .gt_asterisk {
font-size: 100%;
vertical-align: 0;
}
#ceabgzbvbg .gt_indent_1 {
#qqbpbmxcsj .gt_indent_1 {
text-indent: 5px;
}
#ceabgzbvbg .gt_indent_2 {
#qqbpbmxcsj .gt_indent_2 {
text-indent: 10px;
}
#ceabgzbvbg .gt_indent_3 {
#qqbpbmxcsj .gt_indent_3 {
text-indent: 15px;
}
#ceabgzbvbg .gt_indent_4 {
#qqbpbmxcsj .gt_indent_4 {
text-indent: 20px;
}
#ceabgzbvbg .gt_indent_5 {
#qqbpbmxcsj .gt_indent_5 {
text-indent: 25px;
}
</style>
@ -1001,23 +1001,23 @@ demonstration of the functions.</p>
</div>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">redcapcast_meta</span> <span class="op">|&gt;</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="ffbixojauk" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#ffbixojauk table {
<div id="kkmpjvheth" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#kkmpjvheth 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;
}
#ffbixojauk thead, #ffbixojauk tbody, #ffbixojauk tfoot, #ffbixojauk tr, #ffbixojauk td, #ffbixojauk th {
#kkmpjvheth thead, #kkmpjvheth tbody, #kkmpjvheth tfoot, #kkmpjvheth tr, #kkmpjvheth td, #kkmpjvheth th {
border-style: none;
}
#ffbixojauk p {
#kkmpjvheth p {
margin: 0;
padding: 0;
}
#ffbixojauk .gt_table {
#kkmpjvheth .gt_table {
display: table;
border-collapse: collapse;
line-height: normal;
@ -1043,12 +1043,12 @@ demonstration of the functions.</p>
border-left-color: #D3D3D3;
}
#ffbixojauk .gt_caption {
#kkmpjvheth .gt_caption {
padding-top: 4px;
padding-bottom: 4px;
}
#ffbixojauk .gt_title {
#kkmpjvheth .gt_title {
color: #333333;
font-size: 125%;
font-weight: initial;
@ -1060,7 +1060,7 @@ demonstration of the functions.</p>
border-bottom-width: 0;
}
#ffbixojauk .gt_subtitle {
#kkmpjvheth .gt_subtitle {
color: #333333;
font-size: 85%;
font-weight: initial;
@ -1072,7 +1072,7 @@ demonstration of the functions.</p>
border-top-width: 0;
}
#ffbixojauk .gt_heading {
#kkmpjvheth .gt_heading {
background-color: #FFFFFF;
text-align: center;
border-bottom-color: #FFFFFF;
@ -1084,13 +1084,13 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ffbixojauk .gt_bottom_border {
#kkmpjvheth .gt_bottom_border {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#ffbixojauk .gt_col_headings {
#kkmpjvheth .gt_col_headings {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
@ -1105,7 +1105,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ffbixojauk .gt_col_heading {
#kkmpjvheth .gt_col_heading {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -1125,7 +1125,7 @@ demonstration of the functions.</p>
overflow-x: hidden;
}
#ffbixojauk .gt_column_spanner_outer {
#kkmpjvheth .gt_column_spanner_outer {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -1137,15 +1137,15 @@ demonstration of the functions.</p>
padding-right: 4px;
}
#ffbixojauk .gt_column_spanner_outer:first-child {
#kkmpjvheth .gt_column_spanner_outer:first-child {
padding-left: 0;
}
#ffbixojauk .gt_column_spanner_outer:last-child {
#kkmpjvheth .gt_column_spanner_outer:last-child {
padding-right: 0;
}
#ffbixojauk .gt_column_spanner {
#kkmpjvheth .gt_column_spanner {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
@ -1157,11 +1157,11 @@ demonstration of the functions.</p>
width: 100%;
}
#ffbixojauk .gt_spanner_row {
#kkmpjvheth .gt_spanner_row {
border-bottom-style: hidden;
}
#ffbixojauk .gt_group_heading {
#kkmpjvheth .gt_group_heading {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -1187,7 +1187,7 @@ demonstration of the functions.</p>
text-align: left;
}
#ffbixojauk .gt_empty_group_heading {
#kkmpjvheth .gt_empty_group_heading {
padding: 0.5px;
color: #333333;
background-color: #FFFFFF;
@ -1202,15 +1202,15 @@ demonstration of the functions.</p>
vertical-align: middle;
}
#ffbixojauk .gt_from_md > :first-child {
#kkmpjvheth .gt_from_md > :first-child {
margin-top: 0;
}
#ffbixojauk .gt_from_md > :last-child {
#kkmpjvheth .gt_from_md > :last-child {
margin-bottom: 0;
}
#ffbixojauk .gt_row {
#kkmpjvheth .gt_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -1229,7 +1229,7 @@ demonstration of the functions.</p>
overflow-x: hidden;
}
#ffbixojauk .gt_stub {
#kkmpjvheth .gt_stub {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -1242,7 +1242,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ffbixojauk .gt_stub_row_group {
#kkmpjvheth .gt_stub_row_group {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
@ -1256,15 +1256,15 @@ demonstration of the functions.</p>
vertical-align: top;
}
#ffbixojauk .gt_row_group_first td {
#kkmpjvheth .gt_row_group_first td {
border-top-width: 2px;
}
#ffbixojauk .gt_row_group_first th {
#kkmpjvheth .gt_row_group_first th {
border-top-width: 2px;
}
#ffbixojauk .gt_summary_row {
#kkmpjvheth .gt_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
@ -1274,16 +1274,16 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ffbixojauk .gt_first_summary_row {
#kkmpjvheth .gt_first_summary_row {
border-top-style: solid;
border-top-color: #D3D3D3;
}
#ffbixojauk .gt_first_summary_row.thick {
#kkmpjvheth .gt_first_summary_row.thick {
border-top-width: 2px;
}
#ffbixojauk .gt_last_summary_row {
#kkmpjvheth .gt_last_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -1293,7 +1293,7 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ffbixojauk .gt_grand_summary_row {
#kkmpjvheth .gt_grand_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
@ -1303,7 +1303,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ffbixojauk .gt_first_grand_summary_row {
#kkmpjvheth .gt_first_grand_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -1313,7 +1313,7 @@ demonstration of the functions.</p>
border-top-color: #D3D3D3;
}
#ffbixojauk .gt_last_grand_summary_row_top {
#kkmpjvheth .gt_last_grand_summary_row_top {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
@ -1323,11 +1323,11 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ffbixojauk .gt_striped {
#kkmpjvheth .gt_striped {
background-color: rgba(128, 128, 128, 0.05);
}
#ffbixojauk .gt_table_body {
#kkmpjvheth .gt_table_body {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
@ -1336,7 +1336,7 @@ demonstration of the functions.</p>
border-bottom-color: #D3D3D3;
}
#ffbixojauk .gt_footnotes {
#kkmpjvheth .gt_footnotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
@ -1350,7 +1350,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ffbixojauk .gt_footnote {
#kkmpjvheth .gt_footnote {
margin: 0px;
font-size: 90%;
padding-top: 4px;
@ -1359,7 +1359,7 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ffbixojauk .gt_sourcenotes {
#kkmpjvheth .gt_sourcenotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
@ -1373,7 +1373,7 @@ demonstration of the functions.</p>
border-right-color: #D3D3D3;
}
#ffbixojauk .gt_sourcenote {
#kkmpjvheth .gt_sourcenote {
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
@ -1381,63 +1381,63 @@ demonstration of the functions.</p>
padding-right: 5px;
}
#ffbixojauk .gt_left {
#kkmpjvheth .gt_left {
text-align: left;
}
#ffbixojauk .gt_center {
#kkmpjvheth .gt_center {
text-align: center;
}
#ffbixojauk .gt_right {
#kkmpjvheth .gt_right {
text-align: right;
font-variant-numeric: tabular-nums;
}
#ffbixojauk .gt_font_normal {
#kkmpjvheth .gt_font_normal {
font-weight: normal;
}
#ffbixojauk .gt_font_bold {
#kkmpjvheth .gt_font_bold {
font-weight: bold;
}
#ffbixojauk .gt_font_italic {
#kkmpjvheth .gt_font_italic {
font-style: italic;
}
#ffbixojauk .gt_super {
#kkmpjvheth .gt_super {
font-size: 65%;
}
#ffbixojauk .gt_footnote_marks {
#kkmpjvheth .gt_footnote_marks {
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
#ffbixojauk .gt_asterisk {
#kkmpjvheth .gt_asterisk {
font-size: 100%;
vertical-align: 0;
}
#ffbixojauk .gt_indent_1 {
#kkmpjvheth .gt_indent_1 {
text-indent: 5px;
}
#ffbixojauk .gt_indent_2 {
#kkmpjvheth .gt_indent_2 {
text-indent: 10px;
}
#ffbixojauk .gt_indent_3 {
#kkmpjvheth .gt_indent_3 {
text-indent: 15px;
}
#ffbixojauk .gt_indent_4 {
#kkmpjvheth .gt_indent_4 {
text-indent: 20px;
}
#ffbixojauk .gt_indent_5 {
#kkmpjvheth .gt_indent_5 {
text-indent: 25px;
}
</style>

View File

@ -116,7 +116,6 @@
<li><p><code>REDcap_split()</code>: Works largely as the original <code>REDCapRITS::REDCap_split()</code>. It takes a REDCap dataset and metadata (data dictionary) to split the data set into a list of dataframes of instruments.</p></li>
<li><p><code><a href="reference/read_redcap_tables.html">read_redcap_tables()</a></code>: wraps the use of <a href="https://github.com/OuhscBbmc/REDCapR" class="external-link"><code>REDCapR::redcap_read()</code></a> with <code><a href="reference/REDCap_split.html">REDCap_split()</a></code> to ease the export of REDCap data.</p></li>
<li><p><code><a href="reference/redcap_wider.html">redcap_wider()</a></code>: pivots each data frame with repeated instruments to a wide format utilizing the <a href="https://tidyr.tidyverse.org/reference/pivot_wider.html" class="external-link"><code>tidyr::pivot_wider()</code></a> from the <a href="https://www.tidyverse.org/" class="external-link">tidyverse</a>.</p></li>
<li><p><code><a href="reference/easy_redcap.html">easy_redcap()</a></code>: combines secure API key storage with the <code>keyring</code>-package, focused data retrieval and optional widening. This is the recommended approach for easy data access and analysis.</p></li>
</ul>
<p>Compared to the original <code>REDCapRITS</code>, all matching functions are improved to accept column naming of REDCap data from manual download or API export.</p>
</div>
@ -131,7 +130,7 @@
<p>The package is available on CRAN. Install the latest version:</p>
<pre><code><span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html" class="external-link">install.packages</a></span><span class="op">(</span><span class="st">"REDCapCAST"</span><span class="op">)</span></span></code></pre>
<p>Install the latest version directly from GitHub:</p>
<pre><code><span><span class="fu">remotes</span><span class="fu">::</span><span class="fu">install_github</span><span class="op">(</span><span class="st">"agdamsbo/REDCapCAST"</span><span class="op">)</span></span></code></pre>
<pre><code><span><span class="fu">remotes</span><span class="fu">::</span><span class="fu"><a href="https://remotes.r-lib.org/reference/install_github.html" class="external-link">install_github</a></span><span class="op">(</span><span class="st">"agdamsbo/REDCapCAST"</span><span class="op">)</span></span></code></pre>
</div>
</div>

View File

@ -51,7 +51,7 @@
</div>
<div class="section level2">
<h2 class="pkg-version" data-toc-text="23.12.1" id="redcapcast-23121">REDCapCAST 23.12.1<a class="anchor" aria-label="anchor" href="#redcapcast-23121"></a></h2><p class="text-muted">CRAN release: 2023-12-20</p>
<h2 class="pkg-version" data-toc-text="23.12.1" id="redcapcast-23121">REDCapCAST 23.12.1<a class="anchor" aria-label="anchor" href="#redcapcast-23121"></a></h2>
<p>One new function to ease secure dataset retrieval and a few bug fixes.</p>
<div class="section level4">
<h4 id="functions-23-12-1">Functions<a class="anchor" aria-label="anchor" href="#functions-23-12-1"></a></h4>

View File

@ -3,7 +3,7 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
Introduction: Introduction.html
last_built: 2023-12-20T15:10Z
last_built: 2023-12-20T14:49Z
urls:
reference: https://agdamsbo.github.io/REDCapCAST/reference
article: https://agdamsbo.github.io/REDCapCAST/articles

View File

@ -121,7 +121,7 @@ instruments only or for all forms.</p></dd>
<span class="r-in"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va">RCurl</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Get the records</span></span></span>
<span class="r-in"><span><span class="va">records</span> <span class="op">&lt;-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
<span class="r-in"><span><span class="va">records</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/pkg/RCurl/man/postForm.html" class="external-link">postForm</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
<span class="r-in"><span> content <span class="op">=</span> <span class="st">'record'</span>,</span></span>
@ -130,7 +130,7 @@ instruments only or for all forms.</p></dd>
<span class="r-in"><span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Get the metadata</span></span></span>
<span class="r-in"><span><span class="va">metadata</span> <span class="op">&lt;-</span> <span class="fu">postForm</span><span class="op">(</span></span></span>
<span class="r-in"><span><span class="va">metadata</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/pkg/RCurl/man/postForm.html" class="external-link">postForm</a></span><span class="op">(</span></span></span>
<span class="r-in"><span> uri <span class="op">=</span> <span class="va">api_url</span>, <span class="co"># Supply your site-specific URI</span></span></span>
<span class="r-in"><span> token <span class="op">=</span> <span class="va">api_token</span>, <span class="co"># Supply your own API token</span></span></span>
<span class="r-in"><span> content <span class="op">=</span> <span class="st">'metadata'</span>,</span></span>

File diff suppressed because one or more lines are too long