Plot Treemaps Given File Path Data
plot_treemaps_from_path_data(path_data, root_path = "", name = "root", as_png = FALSE, n_levels = 2, output_dir = tempdir(), type = "value", args_png = list(), n_biggest = -1, depth = 1, types = c("size", "files"))
path_data | data frame containing file path information as returned by
|
---|---|
root_path | path to the folder that contains all paths to be considered.
By setting the root path to "/path/to/root" you can "zoom into" the
treeplot, showing the contents below "/path/to/root" only. If
|
name | name to be used in png file name if |
as_png | if |
n_levels | number of folder depth levels to be shown in the plots |
output_dir | path to output directory if |
type | passed to |
args_png | list of arguments passed to |
n_biggest | vector of integer, specifying the number(s) of biggest
folders (in terms of size and number of files) in which to "zoom into". The
position in the vector represents the folder depth. For example, if
|
depth | current depth of recursion |
types | type(s) of treeplots: one or both of |