From 212ddc806fd5a7d63690381d287945aeae2ca866 Mon Sep 17 00:00:00 2001 From: marjom02 Date: Wed, 26 Jul 2023 14:39:22 +0100 Subject: [PATCH 1/2] remove unnecessary code from `get_anon_chi` `get_anon_chi` was updated in slfhelper v0.10 --- R/run_episode_file.R | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/R/run_episode_file.R b/R/run_episode_file.R index 852a4fd8b..4cae46bc4 100644 --- a/R/run_episode_file.R +++ b/R/run_episode_file.R @@ -110,11 +110,7 @@ run_episode_file <- function( load_ep_file_vars(year) if (anon_chi_out) { - # TODO When slfhelper is updated remove the unnecessary code - episode_file <- episode_file %>% - tidyr::replace_na(list(chi = "")) %>% - slfhelper::get_anon_chi() %>% - dplyr::mutate(anon_chi = dplyr::na_if(.data$anon_chi, "")) + episode_file <- slfhelper::get_anon_chi(episode_file) } if (write_to_disk) { From f02819c2c2e670525e28ef65c4dede2a9395f9d9 Mon Sep 17 00:00:00 2001 From: Megan McNicol Date: Wed, 26 Jul 2023 13:45:14 +0000 Subject: [PATCH 2/2] [check-spelling] Update metadata Update for https://github.com/Public-Health-Scotland/source-linkage-files/actions/runs/5669528966/attempts/1 Accepted in https://github.com/Public-Health-Scotland/source-linkage-files/pull/759#issuecomment-1651842662 Signed-off-by: check-spelling-bot --- .github/actions/spelling/expect.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 3236edd84..bc1b03fbd 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -107,7 +107,6 @@ keytime keytimex kis lgl -kis los ltc ltcs