rtemis

Command Palette

Search for a command to run...

IngestConfig

Entry point

Language-independent config for reading a data file and normalizing it to Parquet. A delimited file or a spreadsheet carries no usable type information and Parquet does, so this is the one step that decides types -- everything after it reads a declaration rather than inferring one. `format` is what the file is, not a preference, so it has no default and a config that disagrees with its file is an error. `format` selects the variant and its settings are siblings of it, validated against the variant's own schema below. Anything not set takes rtemis's default, so an object holding only `format` is that variant with every default.

Raw JSONv1Unknown properties rejected

Variants

The value of format selects which schema applies.

Properties

formatrequired
string

What the file is.

one of"delimited""parquet""xlsx""rds""dta""arff"

columns
object | null

Declared column types, keyed by column name, in the `profile/v1` vocabulary. A column named here is converted after reading rather than inferred; one absent is left as the reader gave it.

character2factor
boolean

Read character columns as factors. Supervised learning needs categorical predictors as factors, and most file formats cannot say which columns those are.

clean_colnames
boolean

Normalize column names on read.

remove_duplicates
boolean

Drop rows that repeat an earlier row exactly.