export_check: Checks imported form lengths against the export note produced...

View source: R/export_check.R

export_checkR Documentation

Checks imported form lengths against the export note produced by prospect.

Description

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.


EstherHerbert/Useful.functions documentation built on Jan. 31, 2025, 10:41 a.m.