From aab3f2b36cfaae0958c4af4cae355bae0af52046 Mon Sep 17 00:00:00 2001 From: Yee Date: Thu, 8 Dec 2022 09:57:09 -0600 Subject: [PATCH] Replacing commas in e_proc_grp_lbl with alternate character due to issues in saving in csv file. --- R/procedure_count.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/procedure_count.R b/R/procedure_count.R index 81e5946..4e65c50 100644 --- a/R/procedure_count.R +++ b/R/procedure_count.R @@ -52,6 +52,10 @@ procedure_count <- function(data_root_or_file, as.data.frame() })) + # Replacing commas in e_proc_grp_lbl with '|' due to issues with csv output + out_df$e_proc_grp_lbl = str_replace_all(out_df$e_proc_grp_lbl, ',', '|') + + r_name = "procedure_count" if (save_report == TRUE) { if (is.na(output_path)) {