Skip to contents

This function reads the provided user CSV file and then preprocesses it based on the given user action.

Usage

read_and_preprocess_csv(user_csv)

Arguments

user_file

The path to the user's CSV file. This will be read into a data frame.

Value

A preprocessed user CSV as a data frame.

See also

read_user_csv, preprocess_csv

Examples

if (FALSE) { # \dontrun{
user_file_path <- "path/to/user/file.csv"
action <- "upload"

preprocessed_data <- read_and_preprocess_csv(user_file_path, action)
} # }