Skip to content

Commit

Permalink
Update R/process_sc_all_care_home.R
Browse files Browse the repository at this point in the history
Co-authored-by: Jennit07 <[email protected]>
  • Loading branch information
SwiftySalmon and Jennit07 authored Jun 20, 2024
1 parent e7a90f5 commit db5b372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/process_sc_all_care_home.R
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ process_sc_all_care_home <- function(
# earlier than the previous discharge date.
# creates a CIS flag for CHI across all of scotland
# and a CIS for social care ID and sending location for just that LA
ch_markers <- matched_deaths_data %>%
ch_chi_markers <- matched_deaths_data %>%
# uses the chi to flag continuous stays. Will flag cases even if in another LA
dplyr::group_by(.data[["chi"]]) %>%
# create variable for previous discharge date + 1 day
Expand Down

0 comments on commit db5b372

Please sign in to comment.