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