suggest_type_check: suggest type check

View source: R/type_check.R

write_type_checkR Documentation

suggest type check

Description

suggest type check

Usage

write_type_check(d, vars = names(d), file = stdout())

suggest_type_check(d, vars = names(d))

Arguments

d

data.frame, used to generate the checks

vars

character optionally the subset of variables to be used.

file

file to which the checks will be written to.

Value

suggest_type_check returns validate::validator() object with the suggested rules. write_type_check write the rules to file and returns invisibly a named list of types for each variable.


edwindj/validatesuggest documentation built on Oct. 11, 2023, 9:58 p.m.