Returns `path_chain` object, which reflects structure of the folder passed with `path` param
path_chain(path, naming = basename)
path | root of the directory structure |
---|---|
naming | function, which defines naming convention |
path_chain object
#> [1] TRUE#> /tmp/Rtmp4l1UVj/files #> ├── data #> │ ├── example1.RData #> │ ├── example2.RData #> │ └── persons.csv #> └── docs #> └── schema.txtchainable.path <- path_chain(tmp) chainable.path$data$persons.csv#> [1] "files/data/persons.csv"#> [1] "files/data/persons.csv"# With customized naming convention chainable.path <- path_chain(tmp, naming = naming_k) chainable.path$kData$kPersons#> [1] "files/data/persons.csv"#> [1] "files/data/persons.csv"