Collect a table read with ddb_data(x, collect = FALSE)
Usage
ddb_collect(sql, progress = TRUE, returnobj = c("data.frame", "data.table"))
Arguments
- sql
Character: DuckDB SQL query, usually output of ddb_data with
collect = FALSE
- progress
Logical: If TRUE, show progress bar
- returnobj
Character: data.frame or data.table: class of object to return
Examples
if (FALSE) { # \dontrun{
sql <- ddb_data("/Data/iris.csv", collect = FALSE)
ir <- ddb_ollect(sql)
} # }