diff --git a/R/create_episode_file.R b/R/create_episode_file.R index 525a44bca..c0cd15848 100644 --- a/R/create_episode_file.R +++ b/R/create_episode_file.R @@ -445,8 +445,7 @@ join_sc_client <- function(data, sc_client, by = "chi", relationship = "one-to-one" - ) #%>% - # dplyr::select(!c("sending_location", "social_care_id", "sc_latest_submission")) + ) } return(data_file) diff --git a/run_slf_process_manually.R b/run_slf_process_manually.R index 70dba2ba4..b5f4dbbb2 100644 --- a/run_slf_process_manually.R +++ b/run_slf_process_manually.R @@ -4,16 +4,16 @@ library(createslf) --- -## UPDATE: Year you would like to run ## -year <- "2223" + ## UPDATE: Year you would like to run ## + year <- "2223" ## UPDATE: Year on "processed_data_list_XXX" ## processed_data_list <- targets::tar_read("processed_data_list_2223") --- -# Run episode file -create_episode_file(processed_data_list, year = year) %>% + # Run episode file + create_episode_file(processed_data_list, year = year) %>% process_tests_episode_file(year = year) # Run individual file