Skip to content

Commit

Permalink
https://github.com/maelstrom-research/Rmonize/issues/27
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiFabre committed Oct 27, 2023
1 parent 95f22fb commit e827584
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rmonize
Type: Package
Title: Support Data Harmonization Following 'Maelstrom Research' Guidelines
Version: 1.0.0.9006
Version: 1.0.0.9007
Authors@R:
c(person(given = "Guillaume",
family = "Fabre",
Expand Down
4 changes: 2 additions & 2 deletions R/02-harmo_process_harmonization.R
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ harmo_process_direct_mapping <- function(process_rule_slice){
process_rule_slice %>%
# process_rule %>%
mutate(
replacement = .data$`input_variables`,
replacement = str_remove_all(.data$`input_variables`,'`'),
to_eval_test =
paste0(
" mutate(\n",
" '",.data$`output_variable`,"' = ",.data$`replacement`,")")) %>%
" '",.data$`output_variable`,"' = `",.data$`replacement`,"`)")) %>%
pull(.data$`to_eval_test`)

return(process_script_to_eval)
Expand Down

0 comments on commit e827584

Please sign in to comment.