Skip to contents

To follow the Parquet partitioning style ({input_path_dir}/year=####/).

Usage

path_alter_filename_year_as_dir(path)

Arguments

path

A file path.

Value

A character vector.

Examples

fs::file_temp(pattern = "database2020-", ext = ".sas7bdat") |>
  path_alter_filename_year_as_dir()
#> /tmp/RtmpPgLnQw/database/year=2020