Skip to contents

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()
)

Arguments

data

episode files

year

financial year, e.g. '1920'

deaths_data

The death data for the year

Value

data flagged if activity after death