Description Usage Arguments Value Examples
View source: R/file_database.R
From a vector of given file paths, this function generates short and unique
identifiers for files and folders. The assignements between identifiers and
original paths are stored in two data frames, files
and folders
that are returned.
1 | to_file_database(files, remove_common_base = TRUE)
|
files |
vector of file paths |
remove_common_base |
if |
list of two data frames, files
and folders
1 2 3 4 5 6 7 | paths <- c(
"very_long/very_ugly_path/even with spaces.doc",
"very_long/very_ugly_path/even with spaces.docx"
)
to_file_database(paths)
to_file_database(paths, remove_common_base = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.