2023-06-30 10:56:53 +02:00
<!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 >
<!-- favicons --> < link rel = "icon" type = "image/png" sizes = "16x16" href = "../favicon-16x16.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "../favicon-32x32.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "180x180" href = "../apple-touch-icon.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "120x120" href = "../apple-touch-icon-120x120.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "76x76" href = "../apple-touch-icon-76x76.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "60x60" href = "../apple-touch-icon-60x60.png" >
< script src = "../deps/jquery-3.6.0/jquery-3.6.0.min.js" > < / script > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
< link href = "../deps/bootstrap-5.2.2/bootstrap.min.css" rel = "stylesheet" >
< script src = "../deps/bootstrap-5.2.2/bootstrap.bundle.min.js" > < / script > <!-- Font Awesome icons --> < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity = "sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity = "sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin = "anonymous" >
<!-- bootstrap - toc --> < script src = "https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity = "sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin = "anonymous" > < / script > <!-- headroom.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity = "sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity = "sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin = "anonymous" > < / script > <!-- clipboard.js --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity = "sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin = "anonymous" > < / script > <!-- search --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity = "sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity = "sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity = "sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin = "anonymous" > < / script > <!-- pkgdown --> < script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "Introduction" >
< meta property = "og:description" content = "REDCapCAST" >
< meta property = "og:image" content = "https://agdamsbo.github.io/REDCapCAST/logo.png" >
<!-- mathjax --> < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity = "sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin = "anonymous" > < / script > < script src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity = "sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin = "anonymous" > < / script > <!-- [if lt IE 9]>
< script src = "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js" > < / script >
< script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" > < / script >
<![endif]-->
< / head >
< body >
< a href = "#main" class = "visually-hidden-focusable" > Skip to contents< / a >
< nav class = "navbar fixed-top navbar-light navbar-expand-lg bg-light" > < div class = "container" >
< a class = "navbar-brand me-2" href = "../index.html" > REDCapCAST< / a >
2023-07-04 16:05:51 +02:00
< small class = "nav-text text-muted me-auto" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "" > 23.6.2< / small >
2023-06-30 10:56:53 +02:00
< 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/REDCapCAST/" 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 = "../logo.png" class = "logo" alt = "" > < h1 > Introduction< / h1 >
< small class = "dont-index" > Source: < a href = "https://github.com/agdamsbo/REDCapCAST/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/REDCapCAST" 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 >
2023-07-04 17:00:37 +02:00
< div id = "arplbkvxqr" style = "padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;" >
< style > # a r p l b k v x q r t a b l e {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr thead, #arplbkvxqr tbody, #arplbkvxqr tfoot, #arplbkvxqr tr, #arplbkvxqr td, #arplbkvxqr th {
2023-06-30 10:56:53 +02:00
border-style: none;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr p {
2023-06-30 10:56:53 +02:00
margin: 0;
padding: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_table {
2023-06-30 10:56:53 +02:00
display: table;
border-collapse: collapse;
line-height: normal;
margin-left: auto;
margin-right: auto;
color: #333333;
font-size: 16px;
font-weight: normal;
font-style: normal;
background-color: #FFFFFF;
width: auto;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #A8A8A8;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #A8A8A8;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_caption {
2023-06-30 10:56:53 +02:00
padding-top: 4px;
padding-bottom: 4px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_title {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_subtitle {
2023-06-30 10:56:53 +02:00
color: #333333;
font-size: 85%;
font-weight: initial;
padding-top: 3px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
border-top-color: #FFFFFF;
border-top-width: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_bottom_border {
2023-06-30 10:56:53 +02:00
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_col_headings {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_col_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_column_spanner_outer {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_column_spanner_outer:first-child {
2023-06-30 10:56:53 +02:00
padding-left: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_column_spanner_outer:last-child {
2023-06-30 10:56:53 +02:00
padding-right: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_column_spanner {
2023-06-30 10:56:53 +02:00
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%;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_spanner_row {
2023-06-30 10:56:53 +02:00
border-bottom-style: hidden;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_group_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_empty_group_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_from_md > :first-child {
2023-06-30 10:56:53 +02:00
margin-top: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_from_md > :last-child {
2023-06-30 10:56:53 +02:00
margin-bottom: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_row {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_stub {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_stub_row_group {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_row_group_first td {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_row_group_first th {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_summary_row {
2023-06-30 10:56:53 +02:00
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_first_summary_row {
2023-06-30 10:56:53 +02:00
border-top-style: solid;
border-top-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_first_summary_row.thick {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_last_summary_row {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_grand_summary_row {
2023-06-30 10:56:53 +02:00
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_first_grand_summary_row {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-top-style: double;
border-top-width: 6px;
border-top-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_last_grand_summary_row_top {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: double;
border-bottom-width: 6px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_striped {
2023-06-30 10:56:53 +02:00
background-color: rgba(128, 128, 128, 0.05);
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_table_body {
2023-06-30 10:56:53 +02:00
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_footnotes {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_footnote {
2023-06-30 10:56:53 +02:00
margin: 0px;
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_sourcenotes {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_sourcenote {
2023-06-30 10:56:53 +02:00
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_left {
2023-06-30 10:56:53 +02:00
text-align: left;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_center {
2023-06-30 10:56:53 +02:00
text-align: center;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_right {
2023-06-30 10:56:53 +02:00
text-align: right;
font-variant-numeric: tabular-nums;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_font_normal {
2023-06-30 10:56:53 +02:00
font-weight: normal;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_font_bold {
2023-06-30 10:56:53 +02:00
font-weight: bold;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_font_italic {
2023-06-30 10:56:53 +02:00
font-style: italic;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_super {
2023-06-30 10:56:53 +02:00
font-size: 65%;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_footnote_marks {
2023-06-30 10:56:53 +02:00
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_asterisk {
2023-06-30 10:56:53 +02:00
font-size: 100%;
vertical-align: 0;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_indent_1 {
2023-06-30 10:56:53 +02:00
text-indent: 5px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_indent_2 {
2023-06-30 10:56:53 +02:00
text-indent: 10px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_indent_3 {
2023-06-30 10:56:53 +02:00
text-indent: 15px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_indent_4 {
2023-06-30 10:56:53 +02:00
text-indent: 20px;
}
2023-07-04 17:00:37 +02:00
#arplbkvxqr .gt_indent_5 {
2023-06-30 10:56:53 +02:00
text-indent: 25px;
}
< / style >
< table class = "table gt_table" data-quarto-disable-processing = "false" data-quarto-bootstrap = "false" >
< thead > < tr class = "gt_col_headings" >
< th class = "gt_col_heading gt_columns_bottom_border gt_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 = "baseline_data_start_complete" > baseline_data_start_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 = "new_event_complete" > new_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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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" > New 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 = "baseline_data_start_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 = "new_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 = "baseline_data_start_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 = "new_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 >
2023-07-04 17:00:37 +02:00
< div id = "rdpjzwjcvc" style = "padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;" >
< style > # r d p j z w j c v c t a b l e {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc thead, #rdpjzwjcvc tbody, #rdpjzwjcvc tfoot, #rdpjzwjcvc tr, #rdpjzwjcvc td, #rdpjzwjcvc th {
2023-06-30 10:56:53 +02:00
border-style: none;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc p {
2023-06-30 10:56:53 +02:00
margin: 0;
padding: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_table {
2023-06-30 10:56:53 +02:00
display: table;
border-collapse: collapse;
line-height: normal;
margin-left: auto;
margin-right: auto;
color: #333333;
font-size: 16px;
font-weight: normal;
font-style: normal;
background-color: #FFFFFF;
width: auto;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #A8A8A8;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #A8A8A8;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_caption {
2023-06-30 10:56:53 +02:00
padding-top: 4px;
padding-bottom: 4px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_title {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_subtitle {
2023-06-30 10:56:53 +02:00
color: #333333;
font-size: 85%;
font-weight: initial;
padding-top: 3px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
border-top-color: #FFFFFF;
border-top-width: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_bottom_border {
2023-06-30 10:56:53 +02:00
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_col_headings {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_col_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_column_spanner_outer {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_column_spanner_outer:first-child {
2023-06-30 10:56:53 +02:00
padding-left: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_column_spanner_outer:last-child {
2023-06-30 10:56:53 +02:00
padding-right: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_column_spanner {
2023-06-30 10:56:53 +02:00
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%;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_spanner_row {
2023-06-30 10:56:53 +02:00
border-bottom-style: hidden;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_group_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_empty_group_heading {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_from_md > :first-child {
2023-06-30 10:56:53 +02:00
margin-top: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_from_md > :last-child {
2023-06-30 10:56:53 +02:00
margin-bottom: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_row {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_stub {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_stub_row_group {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_row_group_first td {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_row_group_first th {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_summary_row {
2023-06-30 10:56:53 +02:00
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_first_summary_row {
2023-06-30 10:56:53 +02:00
border-top-style: solid;
border-top-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_first_summary_row.thick {
2023-06-30 10:56:53 +02:00
border-top-width: 2px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_last_summary_row {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_grand_summary_row {
2023-06-30 10:56:53 +02:00
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_first_grand_summary_row {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-top-style: double;
border-top-width: 6px;
border-top-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_last_grand_summary_row_top {
2023-06-30 10:56:53 +02:00
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: double;
border-bottom-width: 6px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_striped {
2023-06-30 10:56:53 +02:00
background-color: rgba(128, 128, 128, 0.05);
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_table_body {
2023-06-30 10:56:53 +02:00
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_footnotes {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_footnote {
2023-06-30 10:56:53 +02:00
margin: 0px;
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_sourcenotes {
2023-06-30 10:56:53 +02:00
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;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_sourcenote {
2023-06-30 10:56:53 +02:00
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_left {
2023-06-30 10:56:53 +02:00
text-align: left;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_center {
2023-06-30 10:56:53 +02:00
text-align: center;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_right {
2023-06-30 10:56:53 +02:00
text-align: right;
font-variant-numeric: tabular-nums;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_font_normal {
2023-06-30 10:56:53 +02:00
font-weight: normal;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_font_bold {
2023-06-30 10:56:53 +02:00
font-weight: bold;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_font_italic {
2023-06-30 10:56:53 +02:00
font-style: italic;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_super {
2023-06-30 10:56:53 +02:00
font-size: 65%;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_footnote_marks {
2023-06-30 10:56:53 +02:00
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_asterisk {
2023-06-30 10:56:53 +02:00
font-size: 100%;
vertical-align: 0;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_indent_1 {
2023-06-30 10:56:53 +02:00
text-indent: 5px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_indent_2 {
2023-06-30 10:56:53 +02:00
text-indent: 10px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_indent_3 {
2023-06-30 10:56:53 +02:00
text-indent: 15px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_indent_4 {
2023-06-30 10:56:53 +02:00
text-indent: 20px;
}
2023-07-04 17:00:37 +02:00
#rdpjzwjcvc .gt_indent_5 {
2023-06-30 10:56:53 +02:00
text-indent: 25px;
}
< / style >
< table class = "table gt_table" data-quarto-disable-processing = "false" data-quarto-bootstrap = "false" >
< thead > < tr class = "gt_col_headings" >
< th class = "gt_col_heading gt_columns_bottom_border gt_left" rowspan = "1" colspan = "1" scope = "col" id = "field_name" > field_name< / th >
< th class = "gt_col_heading gt_columns_bottom_border gt_left" rowspan = "1" colspan = "1" scope = "col" id = "form_name" > form_name< / th >
< th class = "gt_col_heading gt_columns_bottom_border gt_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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > baseline_data_start< / 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" > new_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" > new_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" > < 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 17 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" > #> ..$ baseline_data_start_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" > #> $ new_event:'data.frame': 9 obs. of 7 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] "new_event" "new_event" "new_event" "new_event" ...< / span > < / span >
< span > < span class = "co" > #> ..$ redcap_repeat_instance : num [1:9] 1 1 2 1 2 3 1 2 3< / span > < / span >
< span > < span class = "co" > #> ..$ event_date : Date[1:9], format: "2023-03-13" "2022-11-08" ...< / span > < / span >
< span > < span class = "co" > #> ..$ event_type : chr [1:9] "TIA" "AIS" "ICH" "ICH" ...< / span > < / span >
< 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 >
< 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:'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" > #> ..$ baseline_data_start_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" > #> $ new_event :'data.frame': 9 obs. of 7 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] "new_event" "new_event" "new_event" "new_event" ...< / span > < / span >
< span > < span class = "co" > #> ..$ redcap_repeat_instance : num [1:9] 1 1 2 1 2 3 1 2 3< / span > < / span >
< span > < span class = "co" > #> ..$ event_date : Date[1:9], format: "2023-03-13" "2022-11-08" ...< / span > < / span >
< span > < span class = "co" > #> ..$ event_type : chr [1:9] "TIA" "AIS" "ICH" "ICH" ...< / span > < / span >
< span > < span class = "co" > #> ..$ new_event_complete : chr [1:9] "Incomplete" "Incomplete" "Incomplete" "Incomplete" ...< / 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. It just cuts outs all the steps for an easier
approach.< / p >
< p > The function works very similar to the
< code > < a href = "https://ouhscbbmc.github.io/REDCapR/reference/redcap_read.html" class = "external-link" > REDCapR::redcap_read()< / a > < / code > in allowing to specify fields,
events and forms for export instead of exporting the whole database and
filtering afterwards. I believe this is a better and safer, focused
approach.< / 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 > < / 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 >