col_info: Column Information for Backend

View source: R/Task.R

col_infoR Documentation

Column Information for Backend

Description

Collects column information for backend.

Currently, this includes:

  • storage type

  • levels (factor / ordered), but not for the primary key column

Usage

col_info(x, ...)

## S3 method for class 'data.table'
col_info(x, primary_key = character(), ...)

## S3 method for class 'DataBackend'
col_info(x, ...)

Arguments

x

(any)
A backend-like object for which to retrieve column information.

...

(any)
Additional arguments.

primary_key

(character())
The primary key of the backend.


mlr3 documentation built on Oct. 18, 2024, 5:11 p.m.