Skip to contents

This will read and process the social care client lookup, it will return the final data and (optionally) write it to disk.

Usage

process_lookup_sc_client(
  data,
  year,
  sc_demographics = read_file(get_sc_demog_lookup_path()) %>% slfhelper::get_chi()
    %>% dplyr::select(c("sending_location", "social_care_id", "chi", "latest_flag")),
  write_to_disk = TRUE
)

Arguments

data

The extract to process

year

The year to process

sc_demographics

social care demographics file

write_to_disk

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

Value

the final data as a tibble.