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 @@