Skip to contents

Check date of death value in cause-of-death data based on CoDEdit rules

Usage

cod_check_dod(dod)

Arguments

dod

Date of death value expressed in terms of the year death occurred.

Value

A tibble with number of rows equal to length of dod and two columns for dod_check and dod_check_note.

Examples

cod_check_dod("2024")
#> # A tibble: 1 × 2
#>   dod_check dod_check_note                    
#>       <int> <fct>                             
#> 1         0 No issues with date of death value