Skip to contents

For use with CTRU studies using prospect. This function checks the read in csv file lengths against he export note produced by prospect.

Usage

export_check(export_notes, data, save.log = FALSE, file = "")

Arguments

export_notes

file path to the export note (usually in the same folder as the exported csv files and called export_note.txt)

data

a list containing the read in data

save.log

logical, should a log of the check be saved?

file

if save.log = TRUE then the file path to which the log should be saved (e.g. "export-check.log").

Value

nothing is returned but a message is printed to the console (or saved to a log) stating whether the check was successful.