Skip to contents

This function runs a workflow of the minimum number of checks required for a user to run minmax_check; the checks include pkg_field_check, dimension_check, and name_check.

Usage

name_precheck(dict, data)

Arguments

dict

Data dictionary.

data

Data set.

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)
name_precheck(DD.dict.B, DS.data.B)
#> # A tibble: 2 × 5
#>   Time                Function          Status Message               Information
#>   <dttm>              <chr>             <chr>  <chr>                 <named lis>
#> 1 2023-09-27 11:01:19 short_field_check Passed Passed: required fie… <lgl [2]>  
#> 2 2023-09-27 11:01:19 dimension_check   Passed Passed: the variable… <int [2]>