R/add_nsu_cohort.R
add_nsu_cohort.Rd
Add NSU cohort to working file
add_nsu_cohort(data, year, nsu_cohort = read_file(get_nsu_path(year)))
The input data frame
The year being processed
The NSU data for the year
A data frame containing the Non-Service Users as additional rows
get_nsu_path()
Other episode_file: add_activity_after_death_flag(), add_homelessness_flag(), add_ppa_flag(), apply_cost_uplift(), correct_cij_vars(), create_cohort_lookups(), create_cost_inc_dna(), fill_missing_cij_markers(), link_delayed_discharge_eps(), lookup_uplift()
add_activity_after_death_flag()
add_homelessness_flag()
add_ppa_flag()
apply_cost_uplift()
correct_cij_vars()
create_cohort_lookups()
create_cost_inc_dna()
fill_missing_cij_markers()
link_delayed_discharge_eps()
lookup_uplift()