Learn R Programming

NBDCtools (version 1.0.2)

read_file: Read file

Description

Internal helper for join_by_identifier() that reads data/shadow matrix for a given file in either .parquet or .tsv format.

Usage

read_file(file, dd, format)

Value

A tibble with the data/shadow matrix from the file.

Arguments

file

character. Path to the file.

dd

tibble. Data frame with the data dictionary used to select columns and determine the column types if reading from a .tsv file.

format

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