Checks to ensure that long term data item contribution is consistent. This is because often back end cahnges occur in hospitals that silently disrupt the ETL process, and as such, some dataitems disappear without warning.

coverage(x, reference_tbl)

Arguments

x

an extracted dataitem

reference_tbl

reference table from make_reference

Value

a table describing the coverage over a defined time window