gdrive_folder: Get id of googledrive folder

View source: R/import_drivefile.R

gdrive_folderR Documentation

Get id of googledrive folder

Description

Get id of googledrive folder

Usage

gdrive_folder(name, path, add = FALSE, ...)

Arguments

name

Googledrive folder name

path

Googledrive parent path id

add

Should folder be added if missing, default is true

...

Other arguments to passed on to 'drive_mkdir'

Value

Googledrive folder item it or NULL for non existing folder

Note

This function will create a new folder if add is set to TRUE

Examples

## Not run: 
 library(glamr)

 gdrive_folder("Test-Folder", "ID-adfdfsdfdfdfs")

## End(Not run)


USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.