mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-22 21:40:23 +01:00
1843 lines
82 KiB
HTML
1843 lines
82 KiB
HTML
<!DOCTYPE html>
|
|
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="description" content="REDCapCAST">
|
|
<title>Introduction • REDCapCAST</title>
|
|
<script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet">
|
|
<script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
|
|
<!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Introduction">
|
|
<meta property="og:description" content="REDCapCAST">
|
|
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body>
|
|
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
|
|
|
|
|
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
|
|
|
<a class="navbar-brand me-2" href="../index.html">REDCapCAST</a>
|
|
|
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">23.4.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="active nav-item dropdown">
|
|
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
|
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
|
<a class="dropdown-item" href="../articles/Introduction.html">Introduction</a>
|
|
</div>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="../news/index.html">Changelog</a>
|
|
</li>
|
|
</ul>
|
|
<form class="form-inline my-2 my-lg-0" role="search">
|
|
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off">
|
|
</form>
|
|
|
|
<ul class="navbar-nav">
|
|
<li class="nav-item">
|
|
<a class="external-link nav-link" href="https://github.com/agdamsbo/REDCapRITS/" aria-label="github">
|
|
<span class="fab fa fab fa-github fa-lg"></span>
|
|
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</nav><div class="container template-article">
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
<main id="main" class="col-md-9"><div class="page-header">
|
|
<img src="" class="logo" alt=""><h1>Introduction</h1>
|
|
|
|
|
|
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/REDCapRITS/blob/HEAD/vignettes/Introduction.Rmd" class="external-link"><code>vignettes/Introduction.Rmd</code></a></small>
|
|
<div class="d-none name"><code>Introduction.Rmd</code></div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
|
|
<code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://github.com/agdamsbo/REDCapRITS" class="external-link">REDCapCAST</a></span><span class="op">)</span></span></code></pre></div>
|
|
<p>This vignette covers the included functions and basic
|
|
functionality.</p>
|
|
<p>A dataset and a meta data file are provided with the package for
|
|
demonstration of the functions.</p>
|
|
<div class="section level2">
|
|
<h2 id="splitting-the-dataset">Splitting the dataset<a class="anchor" aria-label="anchor" href="#splitting-the-dataset"></a>
|
|
</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="zmtndsgjuu" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
|
<style>html {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_table {
|
|
display: table;
|
|
border-collapse: collapse;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
color: #333333;
|
|
font-size: 16px;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
background-color: #FFFFFF;
|
|
width: auto;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #A8A8A8;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #A8A8A8;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_heading {
|
|
background-color: #FFFFFF;
|
|
text-align: center;
|
|
border-bottom-color: #FFFFFF;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_caption {
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_title {
|
|
color: #333333;
|
|
font-size: 125%;
|
|
font-weight: initial;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-bottom-color: #FFFFFF;
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_subtitle {
|
|
color: #333333;
|
|
font-size: 85%;
|
|
font-weight: initial;
|
|
padding-top: 0;
|
|
padding-bottom: 6px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-top-color: #FFFFFF;
|
|
border-top-width: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_bottom_border {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_col_headings {
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_col_heading {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
text-transform: inherit;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: bottom;
|
|
padding-top: 5px;
|
|
padding-bottom: 6px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_column_spanner_outer {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
text-transform: inherit;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_column_spanner_outer:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_column_spanner_outer:last-child {
|
|
padding-right: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_column_spanner {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
vertical-align: bottom;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
overflow-x: hidden;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_group_heading {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_empty_group_heading {
|
|
padding: 0.5px;
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_from_md > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_from_md > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
margin: 10px;
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
border-top-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_stub {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-right-style: solid;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_stub_row_group {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-right-style: solid;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_row_group_first td {
|
|
border-top-width: 2px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_summary_row {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
text-transform: inherit;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_first_summary_row {
|
|
border-top-style: solid;
|
|
border-top-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_first_summary_row.thick {
|
|
border-top-width: 2px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_last_summary_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_grand_summary_row {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
text-transform: inherit;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_first_grand_summary_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-top-style: double;
|
|
border-top-width: 6px;
|
|
border-top-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_striped {
|
|
background-color: rgba(128, 128, 128, 0.05);
|
|
}
|
|
|
|
#zmtndsgjuu .gt_table_body {
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_footnotes {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
border-bottom-style: none;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_footnote {
|
|
margin: 0px;
|
|
font-size: 90%;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_sourcenotes {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
border-bottom-style: none;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_sourcenote {
|
|
font-size: 90%;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_left {
|
|
text-align: left;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_center {
|
|
text-align: center;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_right {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_font_normal {
|
|
font-weight: normal;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_font_bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_font_italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_super {
|
|
font-size: 65%;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_footnote_marks {
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
font-size: 75%;
|
|
vertical-align: 0.4em;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_asterisk {
|
|
font-size: 100%;
|
|
vertical-align: 0;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_indent_1 {
|
|
text-indent: 5px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_indent_2 {
|
|
text-indent: 10px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_indent_3 {
|
|
text-indent: 15px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_indent_4 {
|
|
text-indent: 20px;
|
|
}
|
|
|
|
#zmtndsgjuu .gt_indent_5 {
|
|
text-indent: 25px;
|
|
}
|
|
</style>
|
|
<table class="table gt_table">
|
|
<thead class="gt_col_headings"><tr>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="record_id">record_id</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="redcap_event_name">redcap_event_name</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="redcap_repeat_instrument">redcap_repeat_instrument</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="redcap_repeat_instance">redcap_repeat_instance</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="cpr">cpr</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="inclusion">inclusion</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="dob">dob</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="age">age</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="age_integer">age_integer</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="sex">sex</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="cohabitation">cohabitation</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="hypertension">hypertension</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="diabetes">diabetes</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="region">region</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="base_complete">base_complete</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="mrs_assessed">mrs_assessed</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="mrs_date">mrs_date</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="mrs_score">mrs_score</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="mrs_complete">mrs_complete</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_right" rowspan="1" colspan="1" scope="col" id="event_date">event_date</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="event_type">event_type</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="event_complete">event_complete</th>
|
|
</tr></thead>
|
|
<tbody class="gt_table_body">
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">1</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">1203401OB4</td>
|
|
<td headers="inclusion" class="gt_row gt_right">2023-03-13</td>
|
|
<td headers="dob" class="gt_row gt_right">1940-03-12</td>
|
|
<td headers="age" class="gt_row gt_right">83.00239</td>
|
|
<td headers="age_integer" class="gt_row gt_right">83</td>
|
|
<td headers="sex" class="gt_row gt_left">female</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">Yes</td>
|
|
<td headers="hypertension" class="gt_row gt_left">No</td>
|
|
<td headers="diabetes" class="gt_row gt_left">Yes</td>
|
|
<td headers="region" class="gt_row gt_left">East</td>
|
|
<td headers="base_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">Yes</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">2023-03-13</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">2</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">0102342303</td>
|
|
<td headers="inclusion" class="gt_row gt_right">2023-03-01</td>
|
|
<td headers="dob" class="gt_row gt_right">1934-02-01</td>
|
|
<td headers="age" class="gt_row gt_right">89.07780</td>
|
|
<td headers="age_integer" class="gt_row gt_right">89</td>
|
|
<td headers="sex" class="gt_row gt_left">male</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">Yes</td>
|
|
<td headers="hypertension" class="gt_row gt_left">No</td>
|
|
<td headers="diabetes" class="gt_row gt_left">No</td>
|
|
<td headers="region" class="gt_row gt_left">South</td>
|
|
<td headers="base_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">Yes</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">2023-03-07</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">2</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow1</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">Yes</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">2023-03-09</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">3</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">2</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow1</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">1</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-03-13</td>
|
|
<td headers="event_type" class="gt_row gt_left">TIA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">2301569823</td>
|
|
<td headers="inclusion" class="gt_row gt_right">2022-03-08</td>
|
|
<td headers="dob" class="gt_row gt_right">1956-01-23</td>
|
|
<td headers="age" class="gt_row gt_right">66.12319</td>
|
|
<td headers="age_integer" class="gt_row gt_right">66</td>
|
|
<td headers="sex" class="gt_row gt_left">male</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">No</td>
|
|
<td headers="hypertension" class="gt_row gt_left">Yes</td>
|
|
<td headers="diabetes" class="gt_row gt_left">Yes</td>
|
|
<td headers="region" class="gt_row gt_left">North</td>
|
|
<td headers="base_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow1</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">Yes</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">2022-08-16</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">2</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">Yes</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">2023-03-13</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">1</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow1</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">1</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2022-11-08</td>
|
|
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow1</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">2</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2022-12-14</td>
|
|
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">1</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-02-06</td>
|
|
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">2</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-03-13</td>
|
|
<td headers="event_type" class="gt_row gt_left">TIA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">3</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">3</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-02-28</td>
|
|
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">4</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">0204051342</td>
|
|
<td headers="inclusion" class="gt_row gt_right">2023-03-14</td>
|
|
<td headers="dob" class="gt_row gt_right">1905-04-02</td>
|
|
<td headers="age" class="gt_row gt_right">117.94903</td>
|
|
<td headers="age_integer" class="gt_row gt_right">117</td>
|
|
<td headers="sex" class="gt_row gt_left">female</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">4</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">4</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">1</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-01-02</td>
|
|
<td headers="event_type" class="gt_row gt_left">AIS</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Complete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">4</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">2</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-02-06</td>
|
|
<td headers="event_type" class="gt_row gt_left">ICH</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Incomplete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">4</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">follow2</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">Event</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">3</td>
|
|
<td headers="cpr" class="gt_row gt_left">NA</td>
|
|
<td headers="inclusion" class="gt_row gt_right">NA</td>
|
|
<td headers="dob" class="gt_row gt_right">NA</td>
|
|
<td headers="age" class="gt_row gt_right">NA</td>
|
|
<td headers="age_integer" class="gt_row gt_right">NA</td>
|
|
<td headers="sex" class="gt_row gt_left">NA</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">NA</td>
|
|
<td headers="hypertension" class="gt_row gt_left">NA</td>
|
|
<td headers="diabetes" class="gt_row gt_left">NA</td>
|
|
<td headers="region" class="gt_row gt_left">NA</td>
|
|
<td headers="base_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">NA</td>
|
|
<td headers="event_date" class="gt_row gt_right">2023-03-05</td>
|
|
<td headers="event_type" class="gt_row gt_left">Unknown</td>
|
|
<td headers="event_complete" class="gt_row gt_left">Complete</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="record_id" class="gt_row gt_right">5</td>
|
|
<td headers="redcap_event_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="redcap_repeat_instrument" class="gt_row gt_left">NA</td>
|
|
<td headers="redcap_repeat_instance" class="gt_row gt_right">NA</td>
|
|
<td headers="cpr" class="gt_row gt_left">0201976043</td>
|
|
<td headers="inclusion" class="gt_row gt_right">2023-03-23</td>
|
|
<td headers="dob" class="gt_row gt_right">1897-01-02</td>
|
|
<td headers="age" class="gt_row gt_right">126.21751</td>
|
|
<td headers="age_integer" class="gt_row gt_right">126</td>
|
|
<td headers="sex" class="gt_row gt_left">male</td>
|
|
<td headers="cohabitation" class="gt_row gt_left">No</td>
|
|
<td headers="hypertension" class="gt_row gt_left">Yes</td>
|
|
<td headers="diabetes" class="gt_row gt_left">Yes</td>
|
|
<td headers="region" class="gt_row gt_left">East</td>
|
|
<td headers="base_complete" class="gt_row gt_left">Complete</td>
|
|
<td headers="mrs_assessed" class="gt_row gt_left">NA</td>
|
|
<td headers="mrs_date" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_score" class="gt_row gt_right">NA</td>
|
|
<td headers="mrs_complete" class="gt_row gt_left">Incomplete</td>
|
|
<td headers="event_date" class="gt_row gt_right">NA</td>
|
|
<td headers="event_type" class="gt_row gt_left">NA</td>
|
|
<td headers="event_complete" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</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="jvvhyocuyv" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
|
|
<style>html {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_table {
|
|
display: table;
|
|
border-collapse: collapse;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
color: #333333;
|
|
font-size: 16px;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
background-color: #FFFFFF;
|
|
width: auto;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #A8A8A8;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #A8A8A8;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_heading {
|
|
background-color: #FFFFFF;
|
|
text-align: center;
|
|
border-bottom-color: #FFFFFF;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_caption {
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_title {
|
|
color: #333333;
|
|
font-size: 125%;
|
|
font-weight: initial;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-bottom-color: #FFFFFF;
|
|
border-bottom-width: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_subtitle {
|
|
color: #333333;
|
|
font-size: 85%;
|
|
font-weight: initial;
|
|
padding-top: 0;
|
|
padding-bottom: 6px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-top-color: #FFFFFF;
|
|
border-top-width: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_bottom_border {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_col_headings {
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_col_heading {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
text-transform: inherit;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: bottom;
|
|
padding-top: 5px;
|
|
padding-bottom: 6px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_column_spanner_outer {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
text-transform: inherit;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_column_spanner_outer:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_column_spanner_outer:last-child {
|
|
padding-right: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_column_spanner {
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
vertical-align: bottom;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
overflow-x: hidden;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_group_heading {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_empty_group_heading {
|
|
padding: 0.5px;
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_from_md > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_from_md > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
margin: 10px;
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
border-top-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 1px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 1px;
|
|
border-right-color: #D3D3D3;
|
|
vertical-align: middle;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_stub {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-right-style: solid;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_stub_row_group {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
font-size: 100%;
|
|
font-weight: initial;
|
|
text-transform: inherit;
|
|
border-right-style: solid;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_row_group_first td {
|
|
border-top-width: 2px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_summary_row {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
text-transform: inherit;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_first_summary_row {
|
|
border-top-style: solid;
|
|
border-top-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_first_summary_row.thick {
|
|
border-top-width: 2px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_last_summary_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_grand_summary_row {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
text-transform: inherit;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_first_grand_summary_row {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-top-style: double;
|
|
border-top-width: 6px;
|
|
border-top-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_striped {
|
|
background-color: rgba(128, 128, 128, 0.05);
|
|
}
|
|
|
|
#jvvhyocuyv .gt_table_body {
|
|
border-top-style: solid;
|
|
border-top-width: 2px;
|
|
border-top-color: #D3D3D3;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_footnotes {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
border-bottom-style: none;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_footnote {
|
|
margin: 0px;
|
|
font-size: 90%;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_sourcenotes {
|
|
color: #333333;
|
|
background-color: #FFFFFF;
|
|
border-bottom-style: none;
|
|
border-bottom-width: 2px;
|
|
border-bottom-color: #D3D3D3;
|
|
border-left-style: none;
|
|
border-left-width: 2px;
|
|
border-left-color: #D3D3D3;
|
|
border-right-style: none;
|
|
border-right-width: 2px;
|
|
border-right-color: #D3D3D3;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_sourcenote {
|
|
font-size: 90%;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_left {
|
|
text-align: left;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_center {
|
|
text-align: center;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_right {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_font_normal {
|
|
font-weight: normal;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_font_bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_font_italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_super {
|
|
font-size: 65%;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_footnote_marks {
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
font-size: 75%;
|
|
vertical-align: 0.4em;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_asterisk {
|
|
font-size: 100%;
|
|
vertical-align: 0;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_indent_1 {
|
|
text-indent: 5px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_indent_2 {
|
|
text-indent: 10px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_indent_3 {
|
|
text-indent: 15px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_indent_4 {
|
|
text-indent: 20px;
|
|
}
|
|
|
|
#jvvhyocuyv .gt_indent_5 {
|
|
text-indent: 25px;
|
|
}
|
|
</style>
|
|
<table class="table gt_table">
|
|
<thead class="gt_col_headings"><tr>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_name">field_name</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="form_name">form_name</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="section_header">section_header</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_type">field_type</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_label">field_label</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="select_choices_or_calculations">select_choices_or_calculations</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_note">field_note</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="text_validation_type_or_show_slider_number">text_validation_type_or_show_slider_number</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="text_validation_min">text_validation_min</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="text_validation_max">text_validation_max</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="identifier">identifier</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="branching_logic">branching_logic</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="required_field">required_field</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="custom_alignment">custom_alignment</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="question_number">question_number</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="matrix_group_name">matrix_group_name</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="matrix_ranking">matrix_ranking</th>
|
|
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="field_annotation">field_annotation</th>
|
|
</tr></thead>
|
|
<tbody class="gt_table_body">
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">record_id</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">ID</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">cpr</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">CPR (Danish civil registration number)</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">ddmmyyxxxx</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">y</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">y</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">inclusion</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">Inclusion date</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">date_ymd</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">dob</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">Date of birth (From CPR)</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">date_ymd</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">@CALCTEXT(if([cpr]!="", concat(if(mid([cpr], 7, 1)>=0 and mid([cpr], 7, 1)<=3,19, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=36 and mid([cpr], 7, 1)>=4 and mid([cpr], 7, 1)<=4,20, if(mid([cpr], 5, 2)>=37 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=4 and mid([cpr], 7, 1)<=4,19, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=57 and mid([cpr], 7, 1)>=5 and mid([cpr], 7, 1)<=5,20, if(mid([cpr], 5, 2)>=58 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=5 and mid([cpr], 7, 1)<=5,18, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=57 and mid([cpr], 7, 1)>=6 and mid([cpr], 7, 1)<=6,20, if(mid([cpr], 5, 2)>=58 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=6 and mid([cpr], 7, 1)<=6,18, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=57 and mid([cpr], 7, 1)>=7 and mid([cpr], 7, 1)<=7,20, if(mid([cpr], 5, 2)>=58 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=7 and mid([cpr], 7, 1)<=7,18, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=57 and mid([cpr], 7, 1)>=8 and mid([cpr], 7, 1)<=8,20, if(mid([cpr], 5, 2)>=58 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=8 and mid([cpr], 7, 1)<=8,18, if(mid([cpr], 5, 2)>=0 and mid([cpr], 5, 2)<=36 and mid([cpr], 7, 1)>=9 and mid([cpr], 7, 1)<=9,20, if(mid([cpr], 5, 2)>=37 and mid([cpr], 5, 2)<=99 and mid([cpr], 7, 1)>=9 and mid([cpr], 7, 1)<=9,19,17))))))))))))), mid([cpr], 5, 2), "-",mid([cpr],3, 2), "-", left([cpr], 2) ), ""))</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">age</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">calc</td>
|
|
<td headers="field_label" class="gt_row gt_left">Age
|
|
Note: Apparently, the build in datediff() function does not handle counting whole years. This results in wrongly counting age higher around the date of birth.</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">if([cpr]!="" and [inclusion]!="", datediff([dob], [inclusion], 'y'), "")</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">age_integer</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">calc</td>
|
|
<td headers="field_label" class="gt_row gt_left">Age integer
|
|
Note: as opposed to the build in datediff() this handles counting years as integers very well. Calculate decimal years in statistical programming software. In R you can use with(ds, stRoke::age_calc(dob, inclusion)).</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">if([cpr]!="", left([inclusion], 4)-left([dob], 4) - if(mid([dob], 6, 2) < mid([inclusion], 6, 2) or (mid([dob], 6, 2) = mid([inclusion], 6, 2) and mid([dob], 9, 2) <= mid([inclusion], 9, 2)), 0, 1),"")</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">sex</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">Legal sex</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">@CALCTEXT(if([cpr]!="",if((right([cpr],1)=1 or right([cpr],1)=3 or right([cpr],1)=5 or right([cpr],1)=7 or right([cpr],1)=9),"male","female"),""))</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">cohabitation</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">History and social</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">Cohabitation</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, Yes | 2, No</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">hypertension</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">Hypertension</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, Yes | 2, No</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">diabetes</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">Diabetes</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, Yes | 2, No</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">region</td>
|
|
<td headers="form_name" class="gt_row gt_left">base</td>
|
|
<td headers="section_header" class="gt_row gt_left">Area</td>
|
|
<td headers="field_type" class="gt_row gt_left">dropdown</td>
|
|
<td headers="field_label" class="gt_row gt_left">Region</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, North | 2, East | 3, South | 4, West</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">autocomplete</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">mrs_assessed</td>
|
|
<td headers="form_name" class="gt_row gt_left">mrs</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">Assesed</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, Yes | 2, No</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">mrs_date</td>
|
|
<td headers="form_name" class="gt_row gt_left">mrs</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">Assessment date</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">date_dmy</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">mrs_score</td>
|
|
<td headers="form_name" class="gt_row gt_left">mrs</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">mRS score</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">0, 0 | 1, 1 | 2, 2 | 3, 3 | 4, 4 | 5, 5</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">event_date</td>
|
|
<td headers="form_name" class="gt_row gt_left">event</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">text</td>
|
|
<td headers="field_label" class="gt_row gt_left">Date of event</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">NA</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">date_dmy</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
<tr>
|
|
<td headers="field_name" class="gt_row gt_left">event_type</td>
|
|
<td headers="form_name" class="gt_row gt_left">event</td>
|
|
<td headers="section_header" class="gt_row gt_left">NA</td>
|
|
<td headers="field_type" class="gt_row gt_left">radio</td>
|
|
<td headers="field_label" class="gt_row gt_left">Neurovascular event</td>
|
|
<td headers="select_choices_or_calculations" class="gt_row gt_left">1, TIA | 2, AIS | 3, ICH | 4, SAH | 99, Unknown</td>
|
|
<td headers="field_note" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_type_or_show_slider_number" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_min" class="gt_row gt_left">NA</td>
|
|
<td headers="text_validation_max" class="gt_row gt_left">NA</td>
|
|
<td headers="identifier" class="gt_row gt_left">NA</td>
|
|
<td headers="branching_logic" class="gt_row gt_left">NA</td>
|
|
<td headers="required_field" class="gt_row gt_left">NA</td>
|
|
<td headers="custom_alignment" class="gt_row gt_left">NA</td>
|
|
<td headers="question_number" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_group_name" class="gt_row gt_left">NA</td>
|
|
<td headers="matrix_ranking" class="gt_row gt_left">NA</td>
|
|
<td headers="field_annotation" class="gt_row gt_left">NA</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</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">REDCapCAST</span><span class="fu">::</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>
|
|
<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">#> $ :'data.frame': 9 obs. of 20 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name: chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
|
<span><span class="co">#> ..$ cpr : chr [1:9] "1203401OB4" "0102342303" NA "2301569823" ...</span></span>
|
|
<span><span class="co">#> ..$ inclusion : Date[1:9], format: "2023-03-13" "2023-03-01" ...</span></span>
|
|
<span><span class="co">#> ..$ dob : Date[1:9], format: "1940-03-12" "1934-02-01" ...</span></span>
|
|
<span><span class="co">#> ..$ age : num [1:9] 83 89.1 NA 66.1 NA ...</span></span>
|
|
<span><span class="co">#> ..$ age_integer : num [1:9] 83 89 NA 66 NA NA 117 NA 126</span></span>
|
|
<span><span class="co">#> ..$ sex : chr [1:9] "female" "male" NA "male" ...</span></span>
|
|
<span><span class="co">#> ..$ cohabitation : chr [1:9] "Yes" "Yes" NA "No" ...</span></span>
|
|
<span><span class="co">#> ..$ hypertension : chr [1:9] "No" "No" NA "Yes" ...</span></span>
|
|
<span><span class="co">#> ..$ diabetes : chr [1:9] "Yes" "No" NA "Yes" ...</span></span>
|
|
<span><span class="co">#> ..$ region : chr [1:9] "East" "South" NA "North" ...</span></span>
|
|
<span><span class="co">#> ..$ base_complete : chr [1:9] "Incomplete" "Incomplete" NA "Incomplete" ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_assessed : chr [1:9] "Yes" "Yes" "Yes" NA ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_date : Date[1:9], format: "2023-03-13" "2023-03-07" ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_score : num [1:9] 1 1 3 NA 2 1 NA NA NA</span></span>
|
|
<span><span class="co">#> ..$ mrs_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
|
<span><span class="co">#> ..$ event_date : Date[1:9], format: NA NA ...</span></span>
|
|
<span><span class="co">#> ..$ event_type : chr [1:9] NA NA NA NA ...</span></span>
|
|
<span><span class="co">#> ..$ event_complete : chr [1:9] NA NA NA NA ...</span></span>
|
|
<span><span class="co">#> $ Event:'data.frame': 9 obs. of 4 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 2 3 3 3 3 3 4 4 4</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "follow1" "follow1" "follow1" "follow2" ...</span></span>
|
|
<span><span class="co">#> ..$ redcap_repeat_instrument: chr [1:9] "Event" "Event" "Event" "Event" ...</span></span>
|
|
<span><span class="co">#> ..$ redcap_repeat_instance : num [1:9] 1 1 2 1 2 3 1 2 3</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">REDCapCAST</span><span class="fu">::</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>
|
|
<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 4</span></span>
|
|
<span><span class="co">#> $ base :'data.frame': 9 obs. of 13 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name: chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
|
<span><span class="co">#> ..$ cpr : chr [1:9] "1203401OB4" "0102342303" NA "2301569823" ...</span></span>
|
|
<span><span class="co">#> ..$ inclusion : Date[1:9], format: "2023-03-13" "2023-03-01" ...</span></span>
|
|
<span><span class="co">#> ..$ dob : Date[1:9], format: "1940-03-12" "1934-02-01" ...</span></span>
|
|
<span><span class="co">#> ..$ age : num [1:9] 83 89.1 NA 66.1 NA ...</span></span>
|
|
<span><span class="co">#> ..$ age_integer : num [1:9] 83 89 NA 66 NA NA 117 NA 126</span></span>
|
|
<span><span class="co">#> ..$ sex : chr [1:9] "female" "male" NA "male" ...</span></span>
|
|
<span><span class="co">#> ..$ cohabitation : chr [1:9] "Yes" "Yes" NA "No" ...</span></span>
|
|
<span><span class="co">#> ..$ hypertension : chr [1:9] "No" "No" NA "Yes" ...</span></span>
|
|
<span><span class="co">#> ..$ diabetes : chr [1:9] "Yes" "No" NA "Yes" ...</span></span>
|
|
<span><span class="co">#> ..$ region : chr [1:9] "East" "South" NA "North" ...</span></span>
|
|
<span><span class="co">#> ..$ base_complete : chr [1:9] "Incomplete" "Incomplete" NA "Incomplete" ...</span></span>
|
|
<span><span class="co">#> $ mrs :'data.frame': 9 obs. of 6 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name: chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_assessed : chr [1:9] "Yes" "Yes" "Yes" NA ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_date : Date[1:9], format: "2023-03-13" "2023-03-07" ...</span></span>
|
|
<span><span class="co">#> ..$ mrs_score : num [1:9] 1 1 3 NA 2 1 NA NA NA</span></span>
|
|
<span><span class="co">#> ..$ mrs_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...</span></span>
|
|
<span><span class="co">#> $ event:'data.frame': 9 obs. of 5 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 1 2 2 3 3 3 4 4 5</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name: chr [1:9] "inclusion" "inclusion" "follow1" "inclusion" ...</span></span>
|
|
<span><span class="co">#> ..$ event_date : Date[1:9], format: NA NA ...</span></span>
|
|
<span><span class="co">#> ..$ event_type : chr [1:9] NA NA NA NA ...</span></span>
|
|
<span><span class="co">#> ..$ event_complete : chr [1:9] NA NA NA NA ...</span></span>
|
|
<span><span class="co">#> $ Event:'data.frame': 9 obs. of 4 variables:</span></span>
|
|
<span><span class="co">#> ..$ record_id : num [1:9] 2 3 3 3 3 3 4 4 4</span></span>
|
|
<span><span class="co">#> ..$ redcap_event_name : chr [1:9] "follow1" "follow1" "follow1" "follow2" ...</span></span>
|
|
<span><span class="co">#> ..$ redcap_repeat_instrument: chr [1:9] "Event" "Event" "Event" "Event" ...</span></span>
|
|
<span><span class="co">#> ..$ redcap_repeat_instance : num [1:9] 1 1 2 1 2 3 1 2 3</span></span></code></pre></div>
|
|
</div>
|
|
<div class="section level2">
|
|
<h2 id="reading-data-from-redcap">Reading data from REDCap<a class="anchor" aria-label="anchor" href="#reading-data-from-redcap"></a>
|
|
</h2>
|
|
<p>This function wraps all the above demonstrated function to get the
|
|
dataset, the metadata, apply the <code>REDCap_split</code>function and
|
|
then a bit of cleaning.</p>
|
|
<p>The function works verysimilarly as the
|
|
<code><a href="https://ouhscbbmc.github.io/REDCapR/reference/redcap_read.html" class="external-link">REDCapR::redcap_read()</a></code>.</p>
|
|
<div class="sourceCode" id="cb6"><pre class="downlit sourceCode r">
|
|
<code class="sourceCode R"><span><span class="co"># read_redcap_tables(uri = "YOUR URI", token = "YOUR TOKEN")</span></span>
|
|
<span></span>
|
|
<span><span class="co"># ds <- read_redcap_tables(uri = key_get("DB_URI"), token = key_get("cast_api"))</span></span></code></pre></div>
|
|
</div>
|
|
<div class="section level2">
|
|
<h2 id="pivotting-to-wider-format">Pivotting to wider format<a class="anchor" aria-label="anchor" href="#pivotting-to-wider-format"></a>
|
|
</h2>
|
|
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
|
|
<code class="sourceCode R"><span><span class="co"># redcap_wider(ds)</span></span></code></pre></div>
|
|
</div>
|
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
|
</nav></aside>
|
|
</div>
|
|
|
|
|
|
|
|
<footer><div class="pkgdown-footer-left">
|
|
<p></p>
|
|
<p>Developed by Andreas Gammelgaard Damsbo, Paul Egeler.</p>
|
|
</div>
|
|
|
|
<div class="pkgdown-footer-right">
|
|
<p></p>
|
|
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
|
</div>
|
|
|
|
</footer>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|