Skip to contents

Classify one variable.

Usage

morie_classify_variable(
  col_name,
  dtype = "string",
  valid_values = NULL,
  dataset_name = "unknown"
)

Arguments

col_name

Character; the column name.

dtype

Character; one of int / float / string / date / datetime / bool.

valid_values

Optional character vector of closed-set values.

dataset_name

Character; the owning dataset id (e.g. "b01" for OTIS, "uof_main_records" for ARSAU).

Value

A named list with classes morie_variable_taxonomy / list.