mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-21 21:10:22 +01:00
Compare commits
3 Commits
aa962f2d9f
...
054c91bc0a
Author | SHA1 | Date | |
---|---|---|---|
|
054c91bc0a | ||
|
a1ad324156 | ||
|
b08fc68125 |
142
CODE_OF_CONDUCT.html
Normal file
142
CODE_OF_CONDUCT.html
Normal file
@ -0,0 +1,142 @@
|
||||
<!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>Contributor Covenant Code of Conduct • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Contributor Covenant Code of Conduct"><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]--></head><body>
|
||||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||||
|
||||
|
||||
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
||||
|
||||
<a class="navbar-brand me-2" href="index.html">REDCapCAST</a>
|
||||
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">24.2.1</small>
|
||||
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<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="reference/index.html">Reference</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
||||
<a class="dropdown-item" href="articles/Database-creation.html">Database-creation</a>
|
||||
<a class="dropdown-item" href="articles/Introduction.html">Introduction</a>
|
||||
<a class="dropdown-item" href="articles/Shiny-app.html">Shiny-app</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="news/index.html">Changelog</a>
|
||||
</li>
|
||||
</ul><form class="form-inline my-2 my-lg-0" role="search">
|
||||
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="search.json" id="search-input" placeholder="Search for" autocomplete="off"></form>
|
||||
|
||||
<ul class="navbar-nav"><li class="nav-item">
|
||||
<a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapCAST/" aria-label="github">
|
||||
<span class="fab fa fab fa-github fa-lg"></span>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
</ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-title-body">
|
||||
<div class="row">
|
||||
<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>
|
||||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapCAST/blob/HEAD/CODE_OF_CONDUCT.md" class="external-link"><code>CODE_OF_CONDUCT.md</code></a></small>
|
||||
</div>
|
||||
|
||||
<div id="contributor-covenant-code-of-conduct" class="section level1">
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="our-pledge">Our Pledge<a class="anchor" aria-label="anchor" href="#our-pledge"></a></h2>
|
||||
<p>We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.</p>
|
||||
<p>We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="our-standards">Our Standards<a class="anchor" aria-label="anchor" href="#our-standards"></a></h2>
|
||||
<p>Examples of behavior that contributes to a positive environment for our community include:</p>
|
||||
<ul><li>Demonstrating empathy and kindness toward other people</li>
|
||||
<li>Being respectful of differing opinions, viewpoints, and experiences</li>
|
||||
<li>Giving and gracefully accepting constructive feedback</li>
|
||||
<li>Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience</li>
|
||||
<li>Focusing on what is best not just for us as individuals, but for the overall community</li>
|
||||
</ul><p>Examples of unacceptable behavior include:</p>
|
||||
<ul><li>The use of sexualized language or imagery, and sexual attention or advances of any kind</li>
|
||||
<li>Trolling, insulting or derogatory comments, and personal or political attacks</li>
|
||||
<li>Public or private harassment</li>
|
||||
<li>Publishing others’ private information, such as a physical or email address, without their explicit permission</li>
|
||||
<li>Other conduct which could reasonably be considered inappropriate in a professional setting</li>
|
||||
</ul></div>
|
||||
<div class="section level2">
|
||||
<h2 id="enforcement-responsibilities">Enforcement Responsibilities<a class="anchor" aria-label="anchor" href="#enforcement-responsibilities"></a></h2>
|
||||
<p>Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.</p>
|
||||
<p>Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="scope">Scope<a class="anchor" aria-label="anchor" href="#scope"></a></h2>
|
||||
<p>This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="enforcement">Enforcement<a class="anchor" aria-label="anchor" href="#enforcement"></a></h2>
|
||||
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at <a href="mailto:andreas@gdamsbo.dk" class="email">andreas@gdamsbo.dk</a>. All complaints will be reviewed and investigated promptly and fairly.</p>
|
||||
<p>All community leaders are obligated to respect the privacy and security of the reporter of any incident.</p>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="enforcement-guidelines">Enforcement Guidelines<a class="anchor" aria-label="anchor" href="#enforcement-guidelines"></a></h2>
|
||||
<p>Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:</p>
|
||||
<div class="section level3">
|
||||
<h3 id="id_1-correction">1. Correction<a class="anchor" aria-label="anchor" href="#id_1-correction"></a></h3>
|
||||
<p><strong>Community Impact</strong>: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.</p>
|
||||
<p><strong>Consequence</strong>: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.</p>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="id_2-warning">2. Warning<a class="anchor" aria-label="anchor" href="#id_2-warning"></a></h3>
|
||||
<p><strong>Community Impact</strong>: A violation through a single incident or series of actions.</p>
|
||||
<p><strong>Consequence</strong>: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.</p>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="id_3-temporary-ban">3. Temporary Ban<a class="anchor" aria-label="anchor" href="#id_3-temporary-ban"></a></h3>
|
||||
<p><strong>Community Impact</strong>: A serious violation of community standards, including sustained inappropriate behavior.</p>
|
||||
<p><strong>Consequence</strong>: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.</p>
|
||||
</div>
|
||||
<div class="section level3">
|
||||
<h3 id="id_4-permanent-ban">4. Permanent Ban<a class="anchor" aria-label="anchor" href="#id_4-permanent-ban"></a></h3>
|
||||
<p><strong>Community Impact</strong>: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.</p>
|
||||
<p><strong>Consequence</strong>: A permanent ban from any sort of public interaction within the community.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section level2">
|
||||
<h2 id="attribution">Attribution<a class="anchor" aria-label="anchor" href="#attribution"></a></h2>
|
||||
<p>This Code of Conduct is adapted from the <a href="https://www.contributor-covenant.org" class="external-link">Contributor Covenant</a>, version 2.1, available at <a href="https://www.contributor-covenant.org/version/2/1/code_of_conduct.html" class="external-link uri">https://www.contributor-covenant.org/version/2/1/code_of_conduct.html</a>.</p>
|
||||
<p>Community Impact Guidelines were inspired by [Mozilla’s code of conduct enforcement ladder][<a href="https://github.com/mozilla/inclusion" class="external-link uri">https://github.com/mozilla/inclusion</a>].</p>
|
||||
<p>For answers to common questions about this code of conduct, see the FAQ at <a href="https://www.contributor-covenant.org/faq" class="external-link uri">https://www.contributor-covenant.org/faq</a>. Translations are available at <a href="https://www.contributor-covenant.org/translations" class="external-link uri">https://www.contributor-covenant.org/translations</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
</nav></aside></div>
|
||||
|
||||
|
||||
<footer><div class="pkgdown-footer-left">
|
||||
<p></p><p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
|
||||
</div>
|
||||
|
||||
<div class="pkgdown-footer-right">
|
||||
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
@ -101,7 +101,8 @@ datasets/spreadsheets securely in REDCap.</p>
|
||||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">mtcars</span> <span class="op">|></span></span>
|
||||
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||
<span> <span class="fu"><a href="../reference/ds2dd.html">ds2dd</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<span> <span class="fu"><a href="../reference/ds2dd.html">ds2dd</a></span><span class="op">(</span><span class="op">)</span> <span class="op">|></span></span>
|
||||
<span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<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
|
||||
validation and will assume that the first column is the id number. It
|
||||
@ -114,7 +115,8 @@ preserve as much information as possible.</p>
|
||||
<span> <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/mutate.html" class="external-link">mutate</a></span><span class="op">(</span>record_id <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/context.html" class="external-link">n</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||
<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="va">record_id</span>, <span class="fu">dplyr</span><span class="fu">::</span><span class="fu"><a href="https://tidyselect.r-lib.org/reference/everything.html" class="external-link">everything</a></span><span class="op">(</span><span class="op">)</span><span class="op">)</span> <span class="op">|></span></span>
|
||||
<span> <span class="fu"><a href="../reference/ds2dd_detailed.html">ds2dd_detailed</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="va">dd_ls</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<span><span class="va">dd_ls</span> <span class="op">|></span> </span>
|
||||
<span> <span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<p>Additional specifications to the DataDictionary can be made manually,
|
||||
or it can be uploaded and modified manually in the graphical user
|
||||
interface on the web page.</p>
|
||||
|
@ -100,23 +100,23 @@ demonstration of the functions.</p>
|
||||
</h2>
|
||||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">redcapcast_data</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<div id="byxlgnpfbb" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#byxlgnpfbb table {
|
||||
<div id="yldgzhryei" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#yldgzhryei 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;
|
||||
}
|
||||
|
||||
#byxlgnpfbb thead, #byxlgnpfbb tbody, #byxlgnpfbb tfoot, #byxlgnpfbb tr, #byxlgnpfbb td, #byxlgnpfbb th {
|
||||
#yldgzhryei thead, #yldgzhryei tbody, #yldgzhryei tfoot, #yldgzhryei tr, #yldgzhryei td, #yldgzhryei th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#byxlgnpfbb p {
|
||||
#yldgzhryei p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_table {
|
||||
#yldgzhryei .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
@ -142,12 +142,12 @@ demonstration of the functions.</p>
|
||||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_caption {
|
||||
#yldgzhryei .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_title {
|
||||
#yldgzhryei .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
@ -159,7 +159,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_subtitle {
|
||||
#yldgzhryei .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
@ -171,7 +171,7 @@ demonstration of the functions.</p>
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_heading {
|
||||
#yldgzhryei .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
@ -183,13 +183,13 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_bottom_border {
|
||||
#yldgzhryei .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_col_headings {
|
||||
#yldgzhryei .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -204,7 +204,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_col_heading {
|
||||
#yldgzhryei .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -224,7 +224,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_column_spanner_outer {
|
||||
#yldgzhryei .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -236,15 +236,15 @@ demonstration of the functions.</p>
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_column_spanner_outer:first-child {
|
||||
#yldgzhryei .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_column_spanner_outer:last-child {
|
||||
#yldgzhryei .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_column_spanner {
|
||||
#yldgzhryei .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
@ -256,11 +256,11 @@ demonstration of the functions.</p>
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_spanner_row {
|
||||
#yldgzhryei .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_group_heading {
|
||||
#yldgzhryei .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -286,7 +286,7 @@ demonstration of the functions.</p>
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_empty_group_heading {
|
||||
#yldgzhryei .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
@ -301,15 +301,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_from_md > :first-child {
|
||||
#yldgzhryei .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_from_md > :last-child {
|
||||
#yldgzhryei .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_row {
|
||||
#yldgzhryei .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -328,7 +328,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_stub {
|
||||
#yldgzhryei .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -341,7 +341,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_stub_row_group {
|
||||
#yldgzhryei .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -355,15 +355,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_row_group_first td {
|
||||
#yldgzhryei .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_row_group_first th {
|
||||
#yldgzhryei .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_summary_row {
|
||||
#yldgzhryei .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -373,16 +373,16 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_first_summary_row {
|
||||
#yldgzhryei .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_first_summary_row.thick {
|
||||
#yldgzhryei .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_last_summary_row {
|
||||
#yldgzhryei .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -392,7 +392,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_grand_summary_row {
|
||||
#yldgzhryei .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -402,7 +402,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_first_grand_summary_row {
|
||||
#yldgzhryei .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -412,7 +412,7 @@ demonstration of the functions.</p>
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_last_grand_summary_row_top {
|
||||
#yldgzhryei .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -422,11 +422,11 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_striped {
|
||||
#yldgzhryei .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_table_body {
|
||||
#yldgzhryei .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -435,7 +435,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_footnotes {
|
||||
#yldgzhryei .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -449,7 +449,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_footnote {
|
||||
#yldgzhryei .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
@ -458,7 +458,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_sourcenotes {
|
||||
#yldgzhryei .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -472,7 +472,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_sourcenote {
|
||||
#yldgzhryei .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
@ -480,63 +480,63 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_left {
|
||||
#yldgzhryei .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_center {
|
||||
#yldgzhryei .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_right {
|
||||
#yldgzhryei .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_font_normal {
|
||||
#yldgzhryei .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_font_bold {
|
||||
#yldgzhryei .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_font_italic {
|
||||
#yldgzhryei .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_super {
|
||||
#yldgzhryei .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_footnote_marks {
|
||||
#yldgzhryei .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_asterisk {
|
||||
#yldgzhryei .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_indent_1 {
|
||||
#yldgzhryei .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_indent_2 {
|
||||
#yldgzhryei .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_indent_3 {
|
||||
#yldgzhryei .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_indent_4 {
|
||||
#yldgzhryei .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#byxlgnpfbb .gt_indent_5 {
|
||||
#yldgzhryei .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
@ -1067,23 +1067,23 @@ demonstration of the functions.</p>
|
||||
</div>
|
||||
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">redcapcast_meta</span> <span class="op">|></span> <span class="fu">gt</span><span class="fu">::</span><span class="fu"><a href="https://gt.rstudio.com/reference/gt.html" class="external-link">gt</a></span><span class="op">(</span><span class="op">)</span></span></code></pre></div>
|
||||
<div id="pwssudkjrt" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#pwssudkjrt table {
|
||||
<div id="tbmufhmkja" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
||||
<style>#tbmufhmkja 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;
|
||||
}
|
||||
|
||||
#pwssudkjrt thead, #pwssudkjrt tbody, #pwssudkjrt tfoot, #pwssudkjrt tr, #pwssudkjrt td, #pwssudkjrt th {
|
||||
#tbmufhmkja thead, #tbmufhmkja tbody, #tbmufhmkja tfoot, #tbmufhmkja tr, #tbmufhmkja td, #tbmufhmkja th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
#pwssudkjrt p {
|
||||
#tbmufhmkja p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_table {
|
||||
#tbmufhmkja .gt_table {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
line-height: normal;
|
||||
@ -1109,12 +1109,12 @@ demonstration of the functions.</p>
|
||||
border-left-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_caption {
|
||||
#tbmufhmkja .gt_caption {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_title {
|
||||
#tbmufhmkja .gt_title {
|
||||
color: #333333;
|
||||
font-size: 125%;
|
||||
font-weight: initial;
|
||||
@ -1126,7 +1126,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_subtitle {
|
||||
#tbmufhmkja .gt_subtitle {
|
||||
color: #333333;
|
||||
font-size: 85%;
|
||||
font-weight: initial;
|
||||
@ -1138,7 +1138,7 @@ demonstration of the functions.</p>
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_heading {
|
||||
#tbmufhmkja .gt_heading {
|
||||
background-color: #FFFFFF;
|
||||
text-align: center;
|
||||
border-bottom-color: #FFFFFF;
|
||||
@ -1150,13 +1150,13 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_bottom_border {
|
||||
#tbmufhmkja .gt_bottom_border {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_col_headings {
|
||||
#tbmufhmkja .gt_col_headings {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -1171,7 +1171,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_col_heading {
|
||||
#tbmufhmkja .gt_col_heading {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1191,7 +1191,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_column_spanner_outer {
|
||||
#tbmufhmkja .gt_column_spanner_outer {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1203,15 +1203,15 @@ demonstration of the functions.</p>
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_column_spanner_outer:first-child {
|
||||
#tbmufhmkja .gt_column_spanner_outer:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_column_spanner_outer:last-child {
|
||||
#tbmufhmkja .gt_column_spanner_outer:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_column_spanner {
|
||||
#tbmufhmkja .gt_column_spanner {
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-color: #D3D3D3;
|
||||
@ -1223,11 +1223,11 @@ demonstration of the functions.</p>
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_spanner_row {
|
||||
#tbmufhmkja .gt_spanner_row {
|
||||
border-bottom-style: hidden;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_group_heading {
|
||||
#tbmufhmkja .gt_group_heading {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1253,7 +1253,7 @@ demonstration of the functions.</p>
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_empty_group_heading {
|
||||
#tbmufhmkja .gt_empty_group_heading {
|
||||
padding: 0.5px;
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
@ -1268,15 +1268,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_from_md > :first-child {
|
||||
#tbmufhmkja .gt_from_md > :first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_from_md > :last-child {
|
||||
#tbmufhmkja .gt_from_md > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_row {
|
||||
#tbmufhmkja .gt_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1295,7 +1295,7 @@ demonstration of the functions.</p>
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_stub {
|
||||
#tbmufhmkja .gt_stub {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1308,7 +1308,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_stub_row_group {
|
||||
#tbmufhmkja .gt_stub_row_group {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 100%;
|
||||
@ -1322,15 +1322,15 @@ demonstration of the functions.</p>
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_row_group_first td {
|
||||
#tbmufhmkja .gt_row_group_first td {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_row_group_first th {
|
||||
#tbmufhmkja .gt_row_group_first th {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_summary_row {
|
||||
#tbmufhmkja .gt_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -1340,16 +1340,16 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_first_summary_row {
|
||||
#tbmufhmkja .gt_first_summary_row {
|
||||
border-top-style: solid;
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_first_summary_row.thick {
|
||||
#tbmufhmkja .gt_first_summary_row.thick {
|
||||
border-top-width: 2px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_last_summary_row {
|
||||
#tbmufhmkja .gt_last_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1359,7 +1359,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_grand_summary_row {
|
||||
#tbmufhmkja .gt_grand_summary_row {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
text-transform: inherit;
|
||||
@ -1369,7 +1369,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_first_grand_summary_row {
|
||||
#tbmufhmkja .gt_first_grand_summary_row {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1379,7 +1379,7 @@ demonstration of the functions.</p>
|
||||
border-top-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_last_grand_summary_row_top {
|
||||
#tbmufhmkja .gt_last_grand_summary_row_top {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
padding-left: 5px;
|
||||
@ -1389,11 +1389,11 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_striped {
|
||||
#tbmufhmkja .gt_striped {
|
||||
background-color: rgba(128, 128, 128, 0.05);
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_table_body {
|
||||
#tbmufhmkja .gt_table_body {
|
||||
border-top-style: solid;
|
||||
border-top-width: 2px;
|
||||
border-top-color: #D3D3D3;
|
||||
@ -1402,7 +1402,7 @@ demonstration of the functions.</p>
|
||||
border-bottom-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_footnotes {
|
||||
#tbmufhmkja .gt_footnotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -1416,7 +1416,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_footnote {
|
||||
#tbmufhmkja .gt_footnote {
|
||||
margin: 0px;
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
@ -1425,7 +1425,7 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_sourcenotes {
|
||||
#tbmufhmkja .gt_sourcenotes {
|
||||
color: #333333;
|
||||
background-color: #FFFFFF;
|
||||
border-bottom-style: none;
|
||||
@ -1439,7 +1439,7 @@ demonstration of the functions.</p>
|
||||
border-right-color: #D3D3D3;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_sourcenote {
|
||||
#tbmufhmkja .gt_sourcenote {
|
||||
font-size: 90%;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
@ -1447,63 +1447,63 @@ demonstration of the functions.</p>
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_left {
|
||||
#tbmufhmkja .gt_left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_center {
|
||||
#tbmufhmkja .gt_center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_right {
|
||||
#tbmufhmkja .gt_right {
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_font_normal {
|
||||
#tbmufhmkja .gt_font_normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_font_bold {
|
||||
#tbmufhmkja .gt_font_bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_font_italic {
|
||||
#tbmufhmkja .gt_font_italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_super {
|
||||
#tbmufhmkja .gt_super {
|
||||
font-size: 65%;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_footnote_marks {
|
||||
#tbmufhmkja .gt_footnote_marks {
|
||||
font-size: 75%;
|
||||
vertical-align: 0.4em;
|
||||
position: initial;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_asterisk {
|
||||
#tbmufhmkja .gt_asterisk {
|
||||
font-size: 100%;
|
||||
vertical-align: 0;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_indent_1 {
|
||||
#tbmufhmkja .gt_indent_1 {
|
||||
text-indent: 5px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_indent_2 {
|
||||
#tbmufhmkja .gt_indent_2 {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_indent_3 {
|
||||
#tbmufhmkja .gt_indent_3 {
|
||||
text-indent: 15px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_indent_4 {
|
||||
#tbmufhmkja .gt_indent_4 {
|
||||
text-indent: 20px;
|
||||
}
|
||||
|
||||
#pwssudkjrt .gt_indent_5 {
|
||||
#tbmufhmkja .gt_indent_5 {
|
||||
text-indent: 25px;
|
||||
}
|
||||
</style>
|
||||
@ -1856,9 +1856,12 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
||||
</div>
|
||||
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span>records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||
<span> forms <span class="op">=</span> <span class="st">"repeating"</span><span class="op">)</span><span class="op">|></span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span></span>
|
||||
<span> records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||
<span> forms <span class="op">=</span> <span class="st">"repeating"</span></span>
|
||||
<span> <span class="op">)</span> <span class="op">|></span> </span>
|
||||
<span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> List of 2</span></span>
|
||||
<span><span class="co">#> $ : tibble [10 × 17] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
@ -1888,9 +1891,12 @@ Note: as opposed to the build in datediff() this handles counting years as integ
|
||||
<span><span class="co">#> ..$ new_event_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
|
||||
<code class="sourceCode R"><span><span class="va">list</span> <span class="op"><-</span></span>
|
||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span>records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||
<span> forms <span class="op">=</span> <span class="st">"all"</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span> <span class="fu"><a href="../reference/REDCap_split.html">REDCap_split</a></span><span class="op">(</span></span>
|
||||
<span> records <span class="op">=</span> <span class="va">redcapcast_data</span>,</span>
|
||||
<span> metadata <span class="op">=</span> <span class="va">redcapcast_meta</span>,</span>
|
||||
<span> forms <span class="op">=</span> <span class="st">"all"</span></span>
|
||||
<span> <span class="op">)</span> <span class="op">|></span> </span>
|
||||
<span> <span class="fu"><a href="../reference/sanitize_split.html">sanitize_split</a></span><span class="op">(</span><span class="op">)</span></span>
|
||||
<span><span class="fu"><a href="https://rdrr.io/r/utils/str.html" class="external-link">str</a></span><span class="op">(</span><span class="va">list</span><span class="op">)</span></span>
|
||||
<span><span class="co">#> List of 3</span></span>
|
||||
<span><span class="co">#> $ baseline_data_start: tibble [6 × 13] (S3: tbl_df/tbl/data.frame)</span></span>
|
||||
|
11
index.html
11
index.html
@ -134,6 +134,11 @@
|
||||
<p>Install the latest version directly from GitHub:</p>
|
||||
<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 class="section level2">
|
||||
<h2 id="code-of-conduct">Code of Conduct<a class="anchor" aria-label="anchor" href="#code-of-conduct"></a>
|
||||
</h2>
|
||||
<p>Please note that the REDCapCAST project is released with a <a href="https://agdamsbo.github.io/REDCapCAST/CODE_OF_CONDUCT.html">Contributor Code of Conduct</a>. By contributing to this project, you agree to abide by its terms.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main><aside class="col-md-3"><div class="links">
|
||||
@ -153,6 +158,12 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="community">
|
||||
<h2 data-toc-skip>Community</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="CODE_OF_CONDUCT.html">Code of conduct</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="citation">
|
||||
<h2 data-toc-skip>Citation</h2>
|
||||
|
@ -5,7 +5,7 @@ articles:
|
||||
Database-creation: Database-creation.html
|
||||
Introduction: Introduction.html
|
||||
Shiny-app: Shiny-app.html
|
||||
last_built: 2024-02-27T12:09Z
|
||||
last_built: 2024-02-27T13:31Z
|
||||
urls:
|
||||
reference: https://agdamsbo.github.io/REDCapCAST/reference
|
||||
article: https://agdamsbo.github.io/REDCapCAST/articles
|
||||
|
@ -124,19 +124,19 @@ instruments only or for all forms.</p></dd>
|
||||
<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"><-</span> <span class="fu">postForm</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> 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>
|
||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">'json'</span>,</span></span>
|
||||
<span class="r-in"><span> returnFormat <span class="op">=</span> <span class="st">'json'</span></span></span>
|
||||
<span class="r-in"><span> content <span class="op">=</span> <span class="st">"record"</span>,</span></span>
|
||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">"json"</span>,</span></span>
|
||||
<span class="r-in"><span> returnFormat <span class="op">=</span> <span class="st">"json"</span></span></span>
|
||||
<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"><-</span> <span class="fu">postForm</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> 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>
|
||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">'json'</span></span></span>
|
||||
<span class="r-in"><span> content <span class="op">=</span> <span class="st">"metadata"</span>,</span></span>
|
||||
<span class="r-in"><span> format <span class="op">=</span> <span class="st">"json"</span></span></span>
|
||||
<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"># Convert exported JSON strings into a list of data.frames</span></span></span>
|
||||
@ -149,7 +149,8 @@ instruments only or for all forms.</p></dd>
|
||||
<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"><-</span> <span class="fu"><a href="https://rdrr.io/r/utils/read.table.html" class="external-link">read.csv</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span><span class="st">"/path/to/data/ExampleProject_DataDictionary_2018-06-03.csv"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="st">"/path/to/data/ExampleProject_DataDictionary_2018-06-03.csv"</span></span></span>
|
||||
<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"># Split the tables</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">REDCapRITS</span><span class="fu">::</span><span class="fu">REDCap_split</span><span class="op">(</span><span class="va">records</span>, <span class="va">metadata</span><span class="op">)</span></span></span>
|
||||
|
@ -116,8 +116,8 @@ data set (imported .dta file with `haven::read_dta()`. Default is "label"</p></d
|
||||
<dt>field.validation</dt>
|
||||
<dd><p>manually specify field validation(s). Vector of
|
||||
length 1 or ncol(data). Default is NULL and `levels()` are used for factors
|
||||
or attribute `factor.labels.attr` for haven_labelled data set (imported .dta file with
|
||||
`haven::read_dta()`).</p></dd>
|
||||
or attribute `factor.labels.attr` for haven_labelled data set (imported .dta
|
||||
file with `haven::read_dta()`).</p></dd>
|
||||
|
||||
|
||||
<dt>metadata</dt>
|
||||
|
@ -78,7 +78,7 @@
|
||||
<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">file_extension</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/list.files.html" class="external-link">list.files</a></span><span class="op">(</span><span class="fu">here</span><span class="fu">::</span><span class="fu"><a href="https://here.r-lib.org//reference/here.html" class="external-link">here</a></span><span class="op">(</span><span class="st">""</span><span class="op">)</span><span class="op">)</span><span class="op">[[</span><span class="fl">2</span><span class="op">]</span><span class="op">]</span><span class="op">)</span><span class="op">[[</span><span class="fl">1</span><span class="op">]</span><span class="op">]</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "md"</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] ""</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
|
@ -106,7 +106,9 @@ has to be converted to character class before REDCap upload.</p>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">data</span> <span class="op"><-</span> <span class="va">redcapcast_data</span></span></span>
|
||||
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span> <span class="fu">guess_time_only_filter</span><span class="op">(</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "inclusion_time"</span>
|
||||
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span> <span class="fu">guess_time_only_filter</span><span class="op">(</span>validate <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span> <span class="op">|></span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="va">head</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">data</span> <span class="op">|></span></span></span>
|
||||
<span class="r-in"><span> <span class="fu">guess_time_only_filter</span><span class="op">(</span>validate <span class="op">=</span> <span class="cn">TRUE</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/lapply.html" class="external-link">lapply</a></span><span class="op">(</span><span class="va">head</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> $is.POSIX</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 6 × 2</span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> inclusion_time event_datetime </span>
|
||||
|
@ -156,7 +156,8 @@
|
||||
|
||||
<code><a href="read_redcap_instrument.html">read_redcap_instrument()</a></code>
|
||||
</dt>
|
||||
<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>
|
||||
|
||||
<code><a href="read_redcap_tables.html">read_redcap_tables()</a></code>
|
||||
@ -206,8 +207,7 @@
|
||||
|
||||
<code><a href="time_only_correction.html">time_only_correction()</a></code>
|
||||
</dt>
|
||||
<dd>Correction based on time_only_filter function. Introduces new class for easier
|
||||
validation labelling.</dd>
|
||||
<dd>Correction based on time_only_filter function</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="ui_factory.html">ui_factory()</a></code>
|
||||
|
@ -1,5 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Convenience function to download complete instrument, using token storage in keyring."><title>Convenience function to download complete instrument, using token storage in keyring. — read_redcap_instrument • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Convenience function to download complete instrument, using token storage in keyring. — read_redcap_instrument"><meta property="og:description" content="Convenience function to download complete instrument, using token storage in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Convenience function to download complete instrument, using token storage
|
||||
in keyring."><title>Convenience function to download complete instrument, using token storage
|
||||
in keyring. — read_redcap_instrument • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Convenience function to download complete instrument, using token storage
|
||||
in keyring. — read_redcap_instrument"><meta property="og:description" content="Convenience function to download complete instrument, using token storage
|
||||
in keyring."><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]--></head><body>
|
||||
@ -48,13 +52,15 @@
|
||||
</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>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/HEAD/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>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Convenience function to download complete instrument, using token storage in keyring.</p>
|
||||
<p>Convenience function to download complete instrument, using token storage
|
||||
in keyring.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
@ -92,7 +98,8 @@
|
||||
|
||||
|
||||
<dt>records</dt>
|
||||
<dd><p>specify the records to download. Index numbers. Numeric vector.</p></dd>
|
||||
<dd><p>specify the records to download. Index numbers.
|
||||
Numeric vector.</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
|
@ -93,47 +93,71 @@ Handles longitudinal projects, but not yet repeated instruments.</p>
|
||||
<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="co"># Longitudinal</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list1</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>age <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">25</span>,<span class="fl">26</span>,<span class="fl">27</span>,<span class="fl">28</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/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list1</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> age <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">25</span>, <span class="fl">26</span>, <span class="fl">27</span>, <span class="fl">28</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list1</span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> record_id age_baseline age_followup gender</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 27 male</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 28 female</span>
|
||||
<span class="r-in"><span><span class="co"># Simpel with two instruments</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list2</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>age <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">25</span>,<span class="fl">26</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/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list2</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> age <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">25</span>, <span class="fl">26</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list2</span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> record_id age gender</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25 male</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26 female</span>
|
||||
<span class="r-in"><span><span class="co"># Simple with single instrument</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list3</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>age <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">25</span>,<span class="fl">26</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list3</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> age <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">25</span>, <span class="fl">26</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list3</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> record_id age</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 1 1 25</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 2 2 26</span>
|
||||
<span class="r-in"><span><span class="co"># Longitudinal with repeatable instruments</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list4</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>age <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">25</span>,<span class="fl">26</span>,<span class="fl">27</span>,<span class="fl">28</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/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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">1</span>,<span class="fl">1</span>,<span class="fl">1</span>,<span class="fl">2</span>,<span class="fl">2</span>,<span class="fl">2</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span>,</span></span>
|
||||
<span class="r-in"><span><span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_repeat_instrument <span class="op">=</span> <span class="st">"walk"</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_repeat_instance<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">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span>,<span class="fl">1</span>,<span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>dist <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">40</span>, <span class="fl">32</span>, <span class="fl">25</span>, <span class="fl">33</span>, <span class="fl">28</span>, <span class="fl">24</span>, <span class="fl">23</span>, <span class="fl">36</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/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span>record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span>gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">list4</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> age <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">25</span>, <span class="fl">26</span>, <span class="fl">27</span>, <span class="fl">28</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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">1</span>, <span class="fl">1</span>, <span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">2</span>, <span class="fl">2</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_event_name <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></span>
|
||||
<span class="r-in"><span> <span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span>,</span></span>
|
||||
<span class="r-in"><span> <span class="st">"baseline"</span>, <span class="st">"baseline"</span>, <span class="st">"followup"</span>, <span class="st">"followup"</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_repeat_instrument <span class="op">=</span> <span class="st">"walk"</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_repeat_instance <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">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span>, <span class="fl">1</span>, <span class="fl">2</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> dist <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">40</span>, <span class="fl">32</span>, <span class="fl">25</span>, <span class="fl">33</span>, <span class="fl">28</span>, <span class="fl">24</span>, <span class="fl">23</span>, <span class="fl">36</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||
<span class="r-in"><span> record_id <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="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> redcap_event_name <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">"baseline"</span>, <span class="st">"baseline"</span><span class="op">)</span>,</span></span>
|
||||
<span class="r-in"><span> gender <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">"male"</span>, <span class="st">"female"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span> <span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">redcap_wider</span><span class="op">(</span><span class="va">list4</span><span class="op">)</span></span></span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||
<span class="r-msg co"><span class="r-pr">#></span> Joining with `by = join_by(record_id)`</span>
|
||||
|
@ -96,7 +96,8 @@ easing the split around the defined delimiter, see example.</p>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">test</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"12 months follow-up"</span>, <span class="st">"3 steps"</span>, <span class="st">"mRS 6 weeks"</span>, <span class="st">"Counting to 231 now"</span><span class="op">)</span></span></span>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">test</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"12 months follow-up"</span>, <span class="st">"3 steps"</span>, <span class="st">"mRS 6 weeks"</span>,</span></span>
|
||||
<span class="r-in"><span><span class="st">"Counting to 231 now"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">strsplitx</span><span class="op">(</span><span class="va">test</span>, <span class="st">"[0-9]"</span>, type <span class="op">=</span> <span class="st">"around"</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [[1]]</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] "1" "2" " months follow-up"</span>
|
||||
|
@ -1,9 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content='Dependens on the data class "hms" introduced with
|
||||
`guess_time_only_filter()` and converts these'><title>Correction based on time_only_filter function. Introduces new class for easier
|
||||
validation labelling. — time_only_correction • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Correction based on time_only_filter function. Introduces new class for easier
|
||||
validation labelling. — time_only_correction"><meta property="og:description" content='Dependens on the data class "hms" introduced with
|
||||
`guess_time_only_filter()` and converts these'><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="Correction based on time_only_filter function"><title>Correction based on time_only_filter function — time_only_correction • 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><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Correction based on time_only_filter function — time_only_correction"><meta property="og:description" content="Correction based on time_only_filter function"><meta property="og:image" content="https://agdamsbo.github.io/REDCapCAST/logo.png"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]--></head><body>
|
||||
@ -52,15 +48,13 @@ validation labelling. — time_only_correction"><meta property="og:description"
|
||||
</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>Correction based on time_only_filter function. Introduces new class for easier
|
||||
validation labelling.</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/HEAD/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>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Dependens on the data class "hms" introduced with
|
||||
`guess_time_only_filter()` and converts these</p>
|
||||
<p>Correction based on time_only_filter function</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
|
File diff suppressed because one or more lines are too long
@ -3,6 +3,9 @@
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/404.html</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/CODE_OF_CONDUCT.html</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://agdamsbo.github.io/REDCapCAST/LICENSE.html</loc>
|
||||
</url>
|
||||
|
Loading…
Reference in New Issue
Block a user