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 Oct. 4, 2022, 5:08 p.m.