From c27b9d9129cfa7f5ebf50d06f0df822350acafd4 Mon Sep 17 00:00:00 2001 From: agdamsbo <43278243+agdamsbo@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:51:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20agdamsbo?= =?UTF-8?q?/REDCapCAST@4e7af7d01fe0f9b226816ef11f4d5551bfa5f1d2=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- CODE_OF_CONDUCT.html | 4 +- LICENSE.html | 4 +- articles/Database-creation.html | 836 +------ articles/REDCapCAST.html | 2345 ++++++++++++++++++ articles/Shiny-app.html | 310 ++- articles/index.html | 6 +- authors.html | 4 +- index.html | 37 +- news/index.html | 11 +- pkgdown.yml | 4 +- reference/REDCapCAST-package.html | 8 +- reference/REDCap_split.html | 4 +- reference/case_match_regex_list.html | 4 +- reference/char2choice.html | 4 +- reference/char2cond.html | 4 +- reference/clean_redcap_name.html | 4 +- reference/create_html_table.html | 4 +- reference/create_instrument_meta.html | 4 +- reference/d2w.html | 4 +- reference/doc2dd.html | 4 +- reference/ds2dd.html | 44 +- reference/ds2dd_detailed.html | 118 +- reference/easy_redcap.html | 4 +- reference/export_redcap_instrument.html | 4 +- reference/file_extension.html | 12 +- reference/focused_metadata.html | 4 +- reference/format_subheader.html | 4 +- reference/get_api_key.html | 4 +- reference/get_id_name.html | 4 +- reference/guess_time_only.html | 154 ++ reference/guess_time_only_filter.html | 4 +- reference/haven_all_levels.html | 93 + reference/hms2character.html | 4 +- reference/html_tag_wrap.html | 4 +- reference/index.html | 36 +- reference/is_missing.html | 4 +- reference/is_repeated_longitudinal.html | 4 +- reference/mark_complete.html | 4 +- reference/match_fields_to_form.html | 4 +- reference/mtcars_redcap.html | 4 +- reference/numchar2fct.html | 124 + reference/parse_data.html | 128 + reference/process_user_input.character.html | 4 +- reference/process_user_input.data.frame.html | 4 +- reference/process_user_input.default.html | 4 +- reference/process_user_input.html | 4 +- reference/process_user_input.response.html | 4 +- reference/read_input.html | 4 +- reference/read_redcap_instrument.html | 4 +- reference/read_redcap_tables.html | 4 +- reference/redcap_wider.html | 4 +- reference/redcapcast_data.html | 13 +- reference/redcapcast_meta.html | 4 +- reference/replace_curly_quote.html | 4 +- reference/sanitize_split.html | 4 +- reference/shiny_cast.html | 4 +- reference/split_non_repeating_forms.html | 4 +- reference/strsplitx.html | 4 +- reference/time_only_correction.html | 4 +- reference/var2fct.html | 106 + search.json | 2 +- sitemap.xml | 7 +- 63 files changed, 3469 insertions(+), 1095 deletions(-) create mode 100644 articles/REDCapCAST.html create mode 100644 reference/guess_time_only.html create mode 100644 reference/haven_all_levels.html create mode 100644 reference/numchar2fct.html create mode 100644 reference/parse_data.html create mode 100644 reference/var2fct.html diff --git a/404.html b/404.html index 822555c..a34a62d 100644 --- a/404.html +++ b/404.html @@ -36,12 +36,12 @@ @@ -124,20 +121,6 @@ file with `haven::read_dta()`).

redcap metadata headings. Default is REDCapCAST:::metadata_names.

- -
validate.time
-

Flag to validate guessed time columns

- - -
time.var.sel.pos
-

Positive selection regex string passed to -`gues_time_only_filter()` as sel.pos.

- - -
time.var.sel.neg
-

Negative selection regex string passed to -`gues_time_only_filter()` as sel.neg.

-

Value

@@ -155,82 +138,9 @@ Please, do always inspect the data dictionary before upload.

Examples

data <- REDCapCAST::redcapcast_data
-data |> ds2dd_detailed(validate.time = TRUE)
-#> $is.POSIX
-#> # A tibble: 19 × 2
-#>    inclusion_time event_datetime     
-#>    <time>         <dttm>             
-#>  1 12:38:49       NA                 
-#>  2 10:38:57       NA                 
-#>  3       NA       NA                 
-#>  4       NA       2024-01-18 12:49:42
-#>  5 12:01:07       NA                 
-#>  6       NA       NA                 
-#>  7       NA       NA                 
-#>  8       NA       2024-01-18 12:49:58
-#>  9       NA       2024-01-18 12:50:01
-#> 10       NA       2024-01-18 12:50:05
-#> 11       NA       2024-01-18 12:50:07
-#> 12       NA       2024-01-18 12:50:09
-#> 13 20:39:19       NA                 
-#> 14       NA       NA                 
-#> 15       NA       2024-01-18 12:50:19
-#> 16       NA       2024-01-18 12:50:22
-#> 17       NA       2024-01-18 12:50:24
-#> 18 08:50:31       NA                 
-#> 19 08:49:28       NA                 
-#> 
-#> $is.datetime
-#> # A tibble: 19 × 1
-#>    event_datetime     
-#>    <dttm>             
-#>  1 NA                 
-#>  2 NA                 
-#>  3 NA                 
-#>  4 2024-01-18 12:49:42
-#>  5 NA                 
-#>  6 NA                 
-#>  7 NA                 
-#>  8 2024-01-18 12:49:58
-#>  9 2024-01-18 12:50:01
-#> 10 2024-01-18 12:50:05
-#> 11 2024-01-18 12:50:07
-#> 12 2024-01-18 12:50:09
-#> 13 NA                 
-#> 14 NA                 
-#> 15 2024-01-18 12:50:19
-#> 16 2024-01-18 12:50:22
-#> 17 2024-01-18 12:50:24
-#> 18 NA                 
-#> 19 NA                 
-#> 
-#> $is.time_only
-#> # A tibble: 19 × 1
-#>    inclusion_time
-#>    <time>        
-#>  1 12:38:49      
-#>  2 10:38:57      
-#>  3       NA      
-#>  4       NA      
-#>  5 12:01:07      
-#>  6       NA      
-#>  7       NA      
-#>  8       NA      
-#>  9       NA      
-#> 10       NA      
-#> 11       NA      
-#> 12       NA      
-#> 13 20:39:19      
-#> 14       NA      
-#> 15       NA      
-#> 16       NA      
-#> 17       NA      
-#> 18 08:50:31      
-#> 19 08:49:28      
-#> 
 data |> ds2dd_detailed()
 #> $data
-#> # A tibble: 19 × 24
+#> # A tibble: 25 × 27
 #>    record_id redcap_event_name redcap_repeat_instrument redcap_repeat_instance
 #>        <dbl> <chr>             <chr>                                     <dbl>
 #>  1         1 inclusion         NA                                           NA
@@ -243,24 +153,16 @@ Please, do always inspect the data dictionary before upload.

#> 8 3 follow1 New Event (?) 1 #> 9 3 follow1 New Event (?) 2 #> 10 3 follow2 New Event (?) 1 -#> 11 3 follow2 New Event (?) 2 -#> 12 3 follow2 New Event (?) 3 -#> 13 4 inclusion NA NA -#> 14 4 follow2 NA NA -#> 15 4 follow2 New Event (?) 1 -#> 16 4 follow2 New Event (?) 2 -#> 17 4 follow2 New Event (?) 3 -#> 18 5 inclusion NA NA -#> 19 6 inclusion NA NA -#> # ℹ 20 more variables: cpr <chr>, inclusion <date>, inclusion_time <chr>, +#> # ℹ 15 more rows +#> # ℹ 23 more variables: cpr <chr>, inclusion <date>, inclusion_time <chr>, #> # dob <date>, age <dbl>, age_integer <dbl>, sex <chr>, cohabitation <chr>, #> # hypertension <chr>, diabetes <chr>, region <chr>, #> # baseline_data_start_complete <chr>, mrs_assessed <chr>, mrs_date <date>, -#> # mrs_score <dbl>, mrs_complete <chr>, event_datetime <dttm>, -#> # event_age <lgl>, event_type <chr>, new_event_complete <chr> +#> # mrs_score <dbl>, mrs_complete <chr>, con_mrs <lgl>, con_calc <lgl>, +#> # consensus_complete <chr>, event_datetime <dttm>, event_age <dbl>, … #> #> $meta -#> # A tibble: 24 × 18 +#> # A tibble: 27 × 18 #> field_name form_name section_header field_type field_label #> <chr> <chr> <lgl> <chr> <chr> #> 1 record_id data NA text record_id @@ -273,7 +175,7 @@ Please, do always inspect the data dictionary before upload.

#> 8 dob data NA text dob #> 9 age data NA text age #> 10 age_integer data NA text age_integer -#> # ℹ 14 more rows +#> # ℹ 17 more rows #> # ℹ 13 more variables: select_choices_or_calculations <lgl>, field_note <lgl>, #> # text_validation_type_or_show_slider_number <chr>, #> # text_validation_min <lgl>, text_validation_max <lgl>, identifier <lgl>, diff --git a/reference/easy_redcap.html b/reference/easy_redcap.html index 17b1917..87419ed 100644 --- a/reference/easy_redcap.html +++ b/reference/easy_redcap.html @@ -15,11 +15,11 @@