This function takes an extracted table from either
extract_demographics
or extract_timevarying
and
returns the table having dealt with out of range values. Currently this
will either modify the value to NA, or limit the value at an appropriate max
or min.
clean(tbl = NULL, dq_ref = NULL)
tbl | a table extracted from the CC-HIC database |
---|---|
dq_ref | a tibble if you want to override the default boundary conditions with the following column headings:
|
a table of the same dimentions as tbl
but with values cleaned