map_join_paths: Discover Potential Join Paths from Metadata and Data

View source: R/map_joins.R

map_join_pathsR Documentation

Discover Potential Join Paths from Metadata and Data

Description

Analyzes metadata for explicit joins and optionally scans data to infer additional joins. Handles single- and multi-variable join keys.

Usage

map_join_paths(metadata_dt, data_list = NULL)

Arguments

metadata_dt

A data.table containing the master metadata.

data_list

A named list of data.tables (names match table_name in metadata_dt). If provided, scans data to find inferred join paths. Defaults to NULL.

Value

A data.table representing the "Join Map" with columns: table_from, table_to, key_from, key_to


DBmaps documentation built on Sept. 9, 2025, 5:44 p.m.