get_template_merge: Retrieve merging template

Description Usage Arguments Value Author(s) Examples

View source: R/get_template_merge.R

Description

Goes through the template load data to retrieve all the attributes mentionned.

Usage

1
get_template_merge(table_x, table_y, result, by_x, by_y, type_of_merge)

Arguments

table_x

The second table. Type = character

result

The dataframe resulting from the merge. Type = character.

by_x

The attributes from the first table used for the merge. Type = character

by_y

The attributes from the second table used for the merge. Type = character

type_of_merge

The type ofmerging chosen. Either "left", "right", "inner" or "full". Type = character

Value

A string with the correct format for merging.

Author(s)

Briac LE RAY (briac.leray@partnre.com)

Examples

1
get_template_merge(table_x = my_dataframe_1, table_y = my_dataframe_2, result = my_dataframe_3, by_x = "c('attribute_1', 'attribute_2')", by_y = "c('attribute_3', 'attribute_4')", type_of_merge = "left")

Tiipiac/StressTestOptimization documentation built on Dec. 18, 2021, 5:08 p.m.