Calculates measure numerator, denominator, and proportions for a NEMSQA measure and each population.
Used throughout this package to calculate measure results.
results_summarize(
total_population,
adult_population,
peds_population,
measure_name,
population_names = c(total = "All", adult = "Adults", peds = "Peds"),
numerator_col,
...
)
Results tibble
a dataframe or tibble containing the filtered and calculated fields.
a dataframe or tibble containing the filtered and calculated fields.
a dataframe or tibble containing the filtered and calculated fields.
A string containing the measure description.
A list containing the population descriptions.
The tidyselect column containing the numerator.
(optional) additional arguments
Samuel Kordik, BBA, BS