You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
327B

  1. write_parquet <- function(x, path, ...) {
  2. fs::dir_create(fs::path_dir(path))
  3. arrow::write_parquet(x, path, ...)
  4. path
  5. }
  6. out_write_parquet <- function(x, name, ...) {
  7. out <- fs::path("data-out", name, name, ext = "parquet")
  8. fs::dir_create(fs::path_dir(out))
  9. arrow::write_parquet(x, out, ...)
  10. fs::path_dir(out)
  11. }