very brief demo

library(googledrive)

here is what my most recent files look like:

drive_ls()

Notice I have lots of folders named the same name!

now we can query by path

drive_ls(path = "foo/bar/baz")

In this subdirectory, I have 2 things, a folder named yo and a file named my_file.

can still pass other query parameters

drive_ls(path = "foo/bar/baz",q = "mimeType='application/vnd.google-apps.folder'")

can also pass patterns

drive_ls(path = "foo/bar/baz", pattern = "my_file")


tidyverse/googledrive documentation built on Jan. 14, 2024, 3:44 a.m.