Skip to contents

Read a CSV written by export_for_labelling() (optionally edited by a user), propagate the block-default equal value from each header row onto unmarked rows in that block, validate the schema, and return a data.table ready for fit_filter() / calibrate_matches().

Usage

import_labels(file)

Arguments

file

Path to the CSV file to read.

Value

A data.table with the same rows as the original sample plus a fully populated equal column (0L / 1L).