type_classifications: Get SGL type classifications for columns in a table

View source: R/types.R

type_classificationsR Documentation

Get SGL type classifications for columns in a table

Description

type_classifications takes a database connection and a table name and returns the SGL type classifications (numerical, categorical, or temporal) of the table's columns.

Usage

type_classifications(con, table_name)

Arguments

con

A database connection (as returned by DBI::dbConnect())

table_name

The name of a table

Value

A dataframe listing the SGL type classification of each column.

Examples

library(duckdb)
con <- dbConnect(duckdb())
dbWriteTable(con, "iris", iris)
type_classifications(con, "iris")


rsgl documentation built on June 9, 2026, 1:07 a.m.