powered by
Collect a table read with ddb_data(x, collect = FALSE)
ddb_data(x, collect = FALSE)
ddb_collect(sql, progress = TRUE, returnobj = c("data.frame", "data.table"))
data.frame or data.table.
data.frame
data.table
Character: DuckDB SQL query, usually output of ddb_data with collect = FALSE
collect = FALSE
Logical: If TRUE, show progress bar
Character: data.frame or data.table: class of object to return
EDG
if (FALSE) { # Requires local CSV file; replace with your own path sql <- ddb_data("/Data/iris.csv", collect = FALSE) ir <- ddb_collect(sql) }
Run the code above in your browser using DataLab