View source: R/audit_measure.R
This function is a companion to create_output and is called by create_output_tbl. Where create_output creates a set of expressions for an audit_measure; create_data_type_label creates a label which describes what sort of data the row represents (ie. denominator, numerator, median, percentage etc).
1 2 3 4 5 6 7 8 9 | create_data_type_label(x, numerator = NULL, output_type)
## S3 method for class 'audit_measure_continuous'
create_data_type_label(x,
numerator = NULL, output_type)
## S3 method for class 'audit_measure_discrete'
create_data_type_label(x,
numerator = NULL, output_type)
|
x |
An |
numerator |
If the measure has more than one numerator and only one of the numerators is required, this should be set to the name of the numerator. If only one numerator is specified in the measure, or all numerators are to be used, then this should be omitted (or set to NULL). |
output_type |
Determines which sort of aggregated results are being requested from the data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.