rb_get_files: Check if new files appeared inside an online folder

View source: R/rb_get_cache.R

rb_get_filesR Documentation

Check if new files appeared inside an online folder

Description

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())
}

giocomai/rbackupr documentation built on Oct. 18, 2023, 9:36 p.m.