R/generate_r_code_merge.R

Defines functions generate_r_code_merge

Documented in generate_r_code_merge

#' @title Complete computation of merging template
#' 
#' @description This function will perform the complete analysis of the merging template table in order to generate a .R file.
#' 
#' @author Briac LE RAY (briac.leray@partnre.com)
#' 
#' @return
#' @param input_merging_table The table with the template format. Type = dataframe
#' @param file_path The file to the path to write the code in. Type = character
#' @examples generate_r_code_load(input_table = my_template_filled, file_path = "path/to/the/file/file_name.extension")

generate_r_code_merge <- function(input_merging_table, file_path) {
  # Step 0 : Log results and time stamps
  
  # Step 1 : control template quality
  
  # Step 2 : go through the transformations to apply to the data_frames
  go_through_table_transformations(merging_table = input_merging_table, file_path = file_path)
  
  # Step 3 : go through the merges
  go_through_merges(merging_table = input_merging_table, file_path = file_path)
  
}
Tiipiac/StressTestOptimization documentation built on Dec. 18, 2021, 5:08 p.m.