check_column_exists: Function to check the given column exists

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

Function to check the given column exists

Usage

1
check_column_exists(column_name, data)

Arguments

column_name

a column name

data

data frame

Value

0 if success error if failure

Examples

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

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.