Learn R Programming

dataversionr (version 0.9.0)

fix_path: Fix path

Description

Take a prefix and a local file path or SubTreeFileSystem and return the correct SubTreeFileSystem. A bit like file.path for arrow SubTreeFileSystems.

Usage

fix_path(path, destination, verbose = FALSE)

Value

an arrow SubTreeFileSystem

Arguments

path

a sub prefix of the destination

destination

a local directory path or an arrow SubTreeFileSystem

verbose

TRUE /FALSE should the function be chatty?

Examples

Run this code
temp_dir <- tempfile()
dir.create(temp_dir, recursive = TRUE)

fix_path("backup", temp_dir)

Run the code above in your browser using DataLab