Get id of googledrive folder

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

if (FALSE) { # \dontrun{
 library(glamr)

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