get_merge_key_pair: Gets keys vector from keys list

View source: R/get_merge_call.R

get_merge_key_pairR Documentation

Gets keys vector from keys list

Description

Gets keys vector from keys list

Usage

get_merge_key_pair(selector_from, selector_to, key_from)

Arguments

selector_from

(list) of data_extract_srv objects.

selector_to

(list) of data_extract_srv objects.

key_from

(character) keys used in the first selector while joining.

Details

This function covers up to now 4 cases:

  • Dataset without parent: Primary keys are returned;

  • Dataset source = dataset target: The primary keys subtracted of all key columns that get purely filtered. This means just one value would be left after filtering inside this column Then it can be taken out;

  • Target dataname is parent foreign keys;

  • Any other case foreign keys;

Value

character vector of selector keys.


teal.transform documentation built on May 29, 2024, 5:06 a.m.