Skip to content

Commit

Permalink
Minor changes to create_indiv_file (#877)
Browse files Browse the repository at this point in the history
Accidentally pushed to december branch because I am a silly goose so
it'll probably not show the changes here

- removed select from join_client in the episode file
- removed part of function that filled in missing sc end dates as this
is now dealt with elsewhere
  • Loading branch information
SwiftySalmon authored Dec 7, 2023
2 parents 854eb70 + b9a6cd9 commit 01f0d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions R/create_episode_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions run_slf_process_manually.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01f0d1b

Please sign in to comment.