Learn R Programming

data.checker (version 2.0.0)

check_types: Check Column Types and Classes

Description

This function checks the types and classes of the columns in the data against the schema defined in the Validator object.

Usage

check_types(validator)

Value

The updated Validator object with quality assurance (QA) entries added for type and class checks. Each QA entry includes a description, pass/fail status, and any failing column IDs.

Arguments

validator

A Validator object containing the data and schema to check against. The schema should define the expected type and optionally the class for each column.