Skip to contents

Use these functions to escape the mrgsim.ds universe. write_parquet_ds() writes all simulated data to a single .parquet file. write_dataset_ds() writes to a directory, optionally partitioned, via arrow::write_dataset(); the caller takes responsibility for the resulting files.

Usage

write_parquet_ds(x, sink, ...)

write_dataset_ds(x, path, ...)

Arguments

x

an mrgsimsds object.

sink

passed to arrow::write_parquet().

...

passed to the underlying arrow function.

path

passed to arrow::write_dataset().

Value

write_parquet_ds() returns x invisibly.

write_dataset_ds() returns path invisibly.

See also

save_ds() to persist an object while staying within the mrgsim.ds universe.