write_dataset {duckdbfs} | R Documentation |
write_dataset
Description
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 |
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 |
Value
Returns the path, invisibly.
Examples
write_dataset(mtcars, tempfile())
write_dataset(mtcars, tempdir())
[Package duckdbfs version 0.0.4 Index]