Skip to contents

Add flags to episodes indicating if they have had at least one active homelessness application in 6 months before, 6 months after, or during an episode.

Usage

add_homelessness_date_flags(
  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.