write_dataset
Usage
write_dataset(
dataset,
path,
conn = cached_connection(),
format = c("parquet", "csv"),
partitioning = dplyr::group_vars(dataset),
overwrite = TRUE,
...
)
Arguments
- dataset
a remote tbl object from
open_dataset
, or an in-memory data.frame.- path
a local file path or S3 path with write credentials
- conn
duckdbfs database connection
- format
export format
- partitioning
names of columns to use as partition variables
- overwrite
allow overwriting of existing files?
- ...
additional arguments to
duckdb_s3_config()