rel_from_df {duckdb}R Documentation

Convert a R data.frame to a DuckDB relation object

Description

Convert a R data.frame to a DuckDB relation object

Usage

rel_from_df(con, df)

Arguments

con

a DuckDB DBI connection object

df

the data.frame

Value

the duckdb_relation object wrapping the data.frame

Examples

con <- DBI::dbConnect(duckdb())
rel <- rel_from_df(con, mtcars)

[Package duckdb version 0.6.0 Index]