Skip to contents

Check if new files appeared inside an online folder

Usage

rb_get_files(dribble_id, update = FALSE, project = NULL, 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_files(rb_drive_find_project())
}