Produce a set of tests which can be used by the CMH extract
This will produce counts of various demographics. It will also produce various summary statistics for 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()
See also
Other extract test functions:
calculate_measures(),
produce_episode_file_ltc_tests(),
produce_episode_file_tests(),
produce_non_sc_episode_tests(),
produce_sc_episode_tests(),
produce_source_ch_tests(),
produce_source_dn_tests(),
produce_source_extract_tests(),
produce_source_hc_tests(),
produce_source_nrs_tests()