Gets cached folder with given parent, or update them from Google Drive upon request
rb_get_folders.Rd
Gets cached folder with given parent, or update them from Google Drive upon request
Usage
rb_get_folders(
dribble_id,
update = FALSE,
project = NULL,
base_folder = "rbackupr",
cache = TRUE
)
Arguments
- dribble_id
The dribble identifier of a folder on Google Drive.
- update
Logical, defaults to FALSE. If TRUE, checks on Google Drive for newly updated folders.
- project
Defaults to NULL. Can be set once per session with `rb_get_project_name()`. If given, must be a character vector of length one: name of the project.
- cache
Logical, defaults to TRUE. Stores locally cached information about base and project folder.
Value
A data frame with three columns: name (of the folder), id (of the dribble of the folder), parent_id (dribble id of the parent folder)
Examples
if (interactive()) {
rb_get_folders(rb_drive_find_project())
}