Add a flag to the data indicating if the CHI had a homelessness episode within the financial year.
Usage
add_homelessness_flag(data, year, lookup = create_homelessness_lookup(year))
Arguments
- data
The data to add the flag to - the episode or individual file.
- year
The year to process, in FY format.
- lookup
The homelessness lookup created by
create_homelessness_lookup()
Value
the final data as a tibble
See also
Other episode_file:
add_activity_after_death_flag()
,
add_nsu_cohort()
,
add_ppa_flag()
,
apply_cost_uplift()
,
correct_cij_vars()
,
create_cohort_lookups()
,
create_cost_inc_dna()
,
fill_missing_cij_markers()
,
link_delayed_discharge_eps()
,
lookup_uplift()