Skip to contents

This function runs a workflow of the minimum number of checks required for a user to run values_check; the checks include field_check, and type_check.

Usage

values_precheck(dict)

Arguments

dict

Data dictionary.

Value

Tibble containing the following information for each check: (1) Time (time stamp); (2) Name (name of the function); (3) Status (Passed/Failed); (4) Message (A copy of the message the function printed out); (5) Information (More detailed information about the potential errors identified).

Examples

data(ExampleB)
values_precheck(DD.dict.B)
#> # A tibble: 2 × 5
#>   Time                Function    Status Message                     Information
#>   <dttm>              <chr>       <chr>  <chr>                       <named lis>
#> 1 2023-09-27 11:01:22 field_check Passed Passed: required fields VA… <lgl [4]>  
#> 2 2023-09-27 11:01:22 type_check  Passed Passed: All TYPE entries f… <chr [3]>