Reads in the homelessness extract and creates a lookup at CHI level, with one row per application start and end date for each CHI.
Usage
create_homelessness_lookup(
year,
homelessness_data = read_file(get_source_extract_path(year, "homelessness")) %>%
slfhelper::get_chi()
)
Arguments
- year
The year to process, in FY format.
- homelessness_data
the processed homelessness data for the financial year (created with
process_extract_homelessness()
).
Value
the final data as a tibble.
See also
Other process extracts:
process_extract_acute()
,
process_extract_ae()
,
process_extract_alarms_telecare()
,
process_extract_care_home()
,
process_extract_cmh()
,
process_extract_delayed_discharges()
,
process_extract_district_nursing()
,
process_extract_gp_ooh()
,
process_extract_home_care()
,
process_extract_homelessness()
,
process_extract_maternity()
,
process_extract_mental_health()
,
process_extract_nrs_deaths()
,
process_extract_ooh_consultations()
,
process_extract_ooh_diagnosis()
,
process_extract_ooh_outcomes()
,
process_extract_outpatients()
,
process_extract_prescribing()
,
process_extract_sds()
,
process_it_chi_deaths()
,
process_lookup_gpprac()
,
process_lookup_postcode()
,
process_lookup_sc_client()
,
process_lookup_sc_demographics()
,
process_refined_death()
,
process_sc_all_alarms_telecare()
,
process_sc_all_care_home()
,
process_sc_all_home_care()
,
process_sc_all_sds()
,
read_extract_gp_ooh()
,
read_it_chi_deaths()
,
read_lookup_sc_client()