Learn R Programming

NBDCtools (version 1.0.2)

join_by_identifier: Join by identifier set

Description

Internal helper for join_tabulated() that joins requested variables from all tables that have the given (set of) identifier column(s).

Usage

join_by_identifier(
  dir_data,
  dd,
  identifiers,
  format = "parquet",
  shadow = FALSE
)

Value

A tibble with the joined variables for the given (set of) identifier column(s).

Arguments

dir_data

character. Path to the directory with the data files in .parquet or .tsv format.

dd

tibble. Data frame with the data dictionary.

identifiers

character (vector). Identifier column(s).

format

character. Data format (One of "parquet" or "tsv"; default: "parquet").

shadow

logical. Whether to join the shadow matrix instead of the data table (default: FALSE).