Create a missing event log
create_missing_log(failures, eval_code, description)
failures | a table (possible with nrow == 0 if there are no errors) with the following columns: `site` and `code_name`. Each corresponding to a site that does not contribute any data for the specified code. |
---|---|
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 missing event log ready to be imported into the `events_missing` table. This ensures there is a standardised format in use and returns an empty table should there not be any failures.