Skip to contents

This function selects the required, conditional, and optional columns from the user file based on provided file column attributes.

Usage

select_relevant_columns(user_file, file_column_attr, bind_data)

Arguments

user_file

The user's CSV file as a data frame.

file_column_attr

An instance of ColumnData containing attributes of file columns.

bind_data

Data that has been bound to the data frame that should be included in the selection.

Value

A data frame with only the relevant columns selected.