mergeAndRemoveKeyColumn: Merges (ie: join) on a key column and returns merged rows,...

View source: R/DataframeUtil.r

mergeAndRemoveKeyColumnR Documentation

Merges (ie: join) on a key column and returns merged rows, minus the key column. Merging means selecting rows from key_column_name that are in selected_keys, erroring if a row cannot be found.

Description

Merges (ie: join) on a key column and returns merged rows, minus the key column. Merging means selecting rows from key_column_name that are in selected_keys, erroring if a row cannot be found.

Usage

mergeAndRemoveKeyColumn(df, key_column_name, selected_keys)

Arguments

df

dataframe

key_column_name

column to merge on

selected_keys

values of keys in key_column_name to select

Value

a dataframe after merged.


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.