Closed achafetz closed 2 years ago
Function that just filters total numerator and total denominator in a MSD.
standardizeddisaggregate
Total Numerator
keep_totals_only <- function(df){ if("standardizeddisaggregate" %in% names(df)) stop("The provided dataframe is missing standardizeddisaggregate") df %>% dplyr::filter(standardizeddisaggregate %in% c("Total Numerator", "Total Denominator") }
name function pluck_totals() per @tessam30
pluck_totals()
Function that just filters total numerator and total denominator in a MSD.
standardizeddisaggregate
existTotal Numerator
and `Total Denominator