| cloud_prep_ls | R Documentation |
Under the hood all ls functions (s3, drive, local) obtain
information about folder content recursively regardless of recursive
parameter. This is needed to be able to calculate last modified time and
size for folders in case if recursive is set to FALSE. The content is
presented in a form of a dataframe similar to what you'd see if you run an
ls function with recursive = TRUE and full_names = FALSE.
This function takes such a dataframe from this point and:
Summarizes it to non-recursive output if recursive is FALSE.
Appends path to names if full_names is TRUE.
Writes full names to names of the name column regardless of the
full_names parameter.
Evaluates the type column.
cloud_prep_ls(data, path, recursive, full_names)
data |
ls dataframe assembled internally by a cloud_ls_* function |
path |
path that was used in a cloud_ls_* function |
recursive |
(logical) If |
full_names |
(logical) If |
Transformed data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.