Decompose chronology

decompose_chronology(connection, x, .debug = FALSE)

Arguments

connection

a connection to the CC-HIC database.

x

the output returned from the evaluate_chronology() function.

.debug

logical flag to run in debug mode.

Value

a tibble with (potential) error codes ready for import into the `events_quality` table.

Details

Takes the failure logs from evaluate_chronology() and decomposes it into an error log ready for importing into the events_quality database table. This is done because it was convenient to have an intermediate stage of this process for plotting purposes.

See also