Skip to contents

confirm if columns exist in dataframe

Usage

confirm_cols_present(cols, df)

Arguments

cols

vector of strings. Names of columns you are searching for in the dataframe.

df.

The dataframe to look in for the columns

Value

TRUE or raises a stop