Function to check if the column is present and correctly formed based on the element type.

present_and_correct(column_name, element = NA, df)

Arguments

column_name

A string representing the column name.

element

A string representing the element. Default is NA.

df

A data frame for which to check the column. Default is dfCombi_geaggregeerd.

Value

A boolean indicating whether the column is present and correctly formed.