Match on BOXI NRS death dates to process activity after death flag
Source:R/add_activity_after_death_flag.R
add_activity_after_death_flag.Rd
Match on CHI number where available in the episode file, and add date of death from the BOXI NRS lookup. Create new activity after death flag
Usage
add_activity_after_death_flag(
data,
year,
deaths_data = read_file(get_combined_slf_deaths_lookup_path()) %>%
slfhelper::get_chi()
)