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 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) {