G1_03_P.RdAnteil vaginale Geburten mit Episiotomie
G1_03_P(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
32_22
G1-Geburten
G-Geburtshilfe und Frauenheilkunde
Anteil
G1_03_P <- function(x){ x %>%
mutate( i = if_else((F_Geburt &
(srg %in_table% (CHOP_Geburt_gesamt) |
ddx %in_table% (ICD_Resultat_Entbindung)) &
srg %not_in_table% (CHOP_Sectio)),
if_else((srg %in_table% (CHOP_Episiotomie)), 2, 1), as.double(NA))) %>%
output_table_perc('G1_03_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% G1_03_P() # \dontrun{}