path_chain | R Documentation |
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
tmp <- create_temp_dir("files")
create_sample_dir(tmp, override = TRUE)
fs::dir_tree(tmp)
chainable.path <- path_chain(tmp)
chainable.path$data$persons.csv
# With customized naming convention
chainable.path <- path_chain(tmp, naming = naming_k)
chainable.path$kData$kPersons
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.