Skip to contents

Creates the individual file from the episode file.

Usage

create_individual_file(
  episode_file,
  year,
  homelessness_lookup = create_homelessness_lookup(year),
  write_to_disk = TRUE,
  anon_chi_in = TRUE,
  anon_chi_out = TRUE,
  write_temp_to_disk
)

Arguments

episode_file

Tibble containing episodic data.

year

The year to process, in FY format.

homelessness_lookup

the lookup file for homelessness

write_to_disk

(optional) Should the data be written to disk default is TRUE i.e. write the data to disk.

anon_chi_in

(Default:TRUE) Is anon_chi used in the input (instead of chi).

anon_chi_out

(Default:TRUE) Should anon_chi be used in the output (instead of chi)

write_temp_to_disk

write intermediate data for investigation or debug

Value

The processed individual file