Produce a set of tests which can be used by most
of the extracts.
This will produce counts of various demographics
using create_demog_test_flags()
counts of episodes for every hbrescode
using create_hb_test_flags()
, a total cost for each hbrescode
using
create_hb_cost_test_flags()
.
It will also produce various summary statistics for bedday, cost and
episode date variables.
Arguments
- data
new or old data for testing summary flags (data is from
get_source_extract_path()
)
Value
a dataframe with a count of each flag
from calculate_measures()