dirTreeRecursive: Obtain a data.frame of the sub-directories in a box.com...

View source: R/boxr__internal_dir_comparison.R

dirTreeRecursiveR Documentation

Obtain a data.frame of the sub-directories in a box.com folder

Description

Takes the id of a box folder and returns a data.frame of it's subdirectories, including their equivalent paths in the local directory.

Usage

dirTreeRecursive(dir_id, local_dir = getwd())

Arguments

dir_id

The box.com id for the folder that you'd like to query

local_dir

The local directory which you'd like dir_id to correspond to. If you're not interested in mapping local to hosted directories, this isn't terribly important.

Value

A data.frame describing the contents directory structure of the box.com folder corresponding to dir_id.


brendan-r/boxr documentation built on April 12, 2024, 11:16 p.m.