Skip to contents

This will read and process the homelessness extract, it will return the final data and (optionally) write it to disk.

Usage

process_extract_homelessness(
  data,
  year,
  write_to_disk = TRUE,
  update = latest_update(),
  la_code_lookup = get_la_code_opendata_lookup(),
  sg_pub_path = get_sg_homelessness_pub_path()
)

Arguments

data

The extract to process from read_extract_homelessness().

year

The year to process, in FY format.

write_to_disk

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

update

The update to use (default is latest_update()).

la_code_lookup

get local authority using opendata.

sg_pub_path

The path to the SG pub figures (default is get_sg_homelessness_pub_path()).

Value

the final data as a tibble.