Skip to content

Commit

Permalink
Update chi when this is different e.g UPI number or PAT_UPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed May 20, 2024
1 parent 9ab260e commit b0c9067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 00_Sort_BI_Extracts.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ for (csv_file in csv_files) {
# Read in each file and replace chi with anon_chi
for (csv_file in csv_files) {
hl1 <- read_file(csv_file) %>%
dplyr::rename(chi = "UPI Number [C]") %>%
slfhelper::get_anon_chi() %>%
dplyr::rename_with(~ paste0("chi"), tidyselect::contains("UPI")) %>%
slfhelper::get_anon_chi(chi = chi) %>%
readr::write_csv(file = new_file_path)
}

Expand Down

0 comments on commit b0c9067

Please sign in to comment.