Learn R Programming

DCC (version 1.2.1)

dcc_import: Strict canonical import

Description

Reads a source through its registered format adapter and applies an explicit import specification. Source names, canonical names, types, missing codes, and roles are declared rather than guessed. The source file is never modified.

Usage

dcc_import(path, spec)

Value

A dcc_data object with canonical data, dictionary, missing states, import specification, source metadata, and import provenance.

Arguments

path

Path to the source file.

spec

A dcc_import_spec created internally from a strict DCC plan.