Skip to content

Commit

Permalink
Specify code for running older years
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Aug 2, 2024
1 parent b0b12d3 commit 0f568fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/process_lookup_sc_client.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ process_lookup_sc_client <-
slfhelper::get_chi() %>%
dplyr::select(c("sending_location", "social_care_id", "chi", "latest_flag")),
write_to_disk = TRUE) {

# Specify years available for running
if (year < "1718") {
return(NULL)
}

# Match to demographics lookup to get CHI
sc_client_demographics <- data %>%
dplyr::right_join(
Expand Down

0 comments on commit 0f568fb

Please sign in to comment.