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)


atorus-research/metacore documentation built on May 7, 2024, 6:38 a.m.