Skip to contents

Writes the current offline snapshot (built by retraction_sync()) to Parquet so it can be queried at scale with the arrow package, e.g. arrow::open_dataset(path).

Usage

retraction_snapshot_parquet(path = NULL)

Arguments

path

Output path. Defaults to snapshot.parquet in the cache directory (retraction_cache_dir()).

Value

Invisibly, the path written. Requires the suggested arrow package.

Examples

if (FALSE) { # \dontrun{
retraction_sync()
p <- retraction_snapshot_parquet()
arrow::open_dataset(p)
} # }