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