check_structure: Column Validation Function

View source: R/utils.R

check_structureR Documentation

Column Validation Function

Description

Column Validation Function

Usage

check_structure(.data, col, func, any_na_acceptable, nm)

Arguments

.data

the dataframe to check the column for

col

the column to test

func

the function to use to assert column structure

any_na_acceptable

boolean, testing if the column can have missing

nm

name of column to check (for warning and error clarification)


metacore documentation built on March 7, 2023, 7:45 p.m.