D1_19_M.RdCOVID-19-Fälle mit SARI, Mortalität
D1_19_M(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
14_72
D1-Lungenentzündung (Pneumonie)
D-Erkrankungen der Lunge
Mortalität
D1_19_M <- function(x){ x %>%
mutate( i = if_else((ddx %in_table% (ICD_COVID19_Infektion_gesichert) &
ddx %in_table% (ICD_COVID19_SARI)),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('D1_19_M') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D1_19_M() # \dontrun{}