
Process qcStudbook Result into UI-Friendly Format
Source:R/processQcStudbookResult.R
processQcStudbookResult.RdCopyright(c) 2017-2025 R. Mark Sharp This file is part of nprcgenekeepr
Arguments
- errorLst
list object returned by
qcStudbookwithreportErrors = TRUE, or NULL. Expected to be of classnprcgenekeeprErrcontaining error fields such as femaleSires, maleDams, sireAndDam, duplicateIds, invalidIdChars, missingColumns, invalidDateRows, suspiciousParents, failedDatabaseConnection, and changedCols.
Value
A list with the following components:
errors- data.frame with columns Row, Error, Detailswarnings- data.frame with columns Row, Warning, DetailschangedCols- list of changed column informationhasErrors- logical indicating if any errors were foundhasChangedCols- logical indicating if columns were renamed
Details
Converts the errorLst object returned by qcStudbook (when reportErrors=TRUE) into a format suitable for display in the Shiny UI.
See also
qcStudbook for generating the errorLst input
runQcStudbook for a wrapper that uses this function
checkErrorLst for checking if errorLst has errors
checkChangedColsLst for checking column changes