Create a failure log
create_failure_log(failures, eval_code, description)
failures | a table (possible with nrow == 0 if there are no errors) with
the following columns: |
---|---|
eval_code | character vector length 1 with the data quality evaluation code |
description | character vector length 1 with a standardised text description of the code in use |
Creates a failure log ready to be imported into the events_quality
table. This ensures there is a standardised format in use and returns an
empty table should there not be any failures.