check_column_exists: Function to check the given column exists

View source: R/IPDFilecheck.R

check_column_existsR Documentation

Function to check the given column exists

Description

Function to check the given column exists

Usage

check_column_exists(column_name, data)

Arguments

column_name

a column name

data

data frame

Value

0 if success error if failure

Examples

check_column_exists("age", data.frame("Age" = c(21, 15),
"Name" = c("John", "Dora")))

sheejamk/ipdfilecheck documentation built on March 10, 2024, 11:23 p.m.