This will read and process the all Care Home extract, it will return the final data and (optionally) write it to disk.
Usage
process_sc_all_care_home(
data,
sc_demog_lookup = read_file(get_sc_demog_lookup_path()) %>% slfhelper::get_chi(),
refined_death = read_file(get_combined_slf_deaths_lookup_path()) %>%
slfhelper::get_chi(),
ch_name_lookup_path = get_slf_ch_name_lookup_path(),
spd_path = get_spd_path(),
write_to_disk = TRUE
)
Arguments
- data
The extract to process
- sc_demog_lookup
The Social Care Demographics lookup produced by
process_lookup_sc_demographics()
.- refined_death
The processed lookup of deaths from IT produced with
process_refined_death()
.- ch_name_lookup_path
Path to the Care Home name Lookup Excel workbook.
- spd_path
(Optional) Path the Scottish Postcode Directory, default is to use
get_spd_path()
.- 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.
See also
Other process extracts:
create_homelessness_lookup()
,
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_home_care()
,
process_sc_all_sds()
,
read_extract_gp_ooh()
,
read_it_chi_deaths()
,
read_lookup_sc_client()