validate_columns: Validate columns

Description Usage Arguments Value

View source: R/validate-fields.R

Description

For all field specifications, check for each column in dic whether or not the column meets the fields requirements.

Usage

1
validate_columns(dic, specs, field_id)

Arguments

dic

Extended dictionary, created by created_dic(df, extended = TRUE)

specs

List of field specifications

field_id

Field id

Value

Tibble with an 'id' column for the column id, a boolean 'meets_requirements' column indicating whether the column meets the field specifications and a boolean 'matches_id' column indicating whether the column id is equal to the field id.


datasketch/dsvalidate documentation built on Sept. 3, 2021, 7:12 a.m.