Learn R Programming

redquack (version 0.3.0)

metadata: Get Metadata Table

Description

Creates a tbl reference to the metadata table in the database and automatically collects it as a data frame. Uses the metadata table name stored in the connection attributes if available.

Usage

metadata(conn, metadata_table_name = NULL)

Value

A data frame containing the metadata.

Arguments

conn

A DuckDB connection object.

metadata_table_name

Character string specifying the metadata table name. If NULL, uses the table name stored in connection attributes. Default is NULL.

Examples

Run this code
if (FALSE) {
meta <- metadata(conn)
}

Run the code above in your browser using DataLab