B1_12_M.RdHD Schlaganfall nicht näher bezeichnet (ICD10 I64) (Alter >19), Mortalität
B1_12_M(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
09_62
B1-Schlaganfall
B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)
Mortalität
B1_12_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_range% c('I64') &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('B1_12_M') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% B1_12_M() # \dontrun{}