statewide: Generate State-Level Summaries

Description Usage Arguments Value

View source: R/statewide.R

Description

All of the other functions group by facility and then often group by patient visit. This function generates a true statewide (or table-wide, if the table you are calling is not the entire state) summary for counts and percents for each null and invalid check. The same message-level or patient-visit-level rules are used as are described in 'get_all_invalids', 'get_opt_nulls' and 'get_req_nulls'.

Usage

1
statewide(data, state_req_nulls, state_opt_nulls, state_invalids)

Arguments

data

The raw data from BioSense on which you will generate the statewide summary.

state_req_nulls

A summary returned from the 'get_req_nulls' function.

state_opt_nulls

A summary returned from the 'get_opt_nulls' function.

state_invalids

A summary returned from the 'get_all_invalids' function.

Value

A list of three two-row data frames, each being counts and percentages for required nulls, optional nulls, and invalid entries.


markhwhiteii/biosensequality documentation built on May 14, 2019, 7:43 a.m.