
Get a directory or file from the GBCI SharePoint
get_gbci.Rd
This function will call either get_gbci_file
or get_gbci_dir
downstream
depending on the path argument.
Usage
get_gbci(path, dest = NULL, overwrite = FALSE, create_dir = TRUE, drive = NULL)
get_gbci_file(
path,
dest = NULL,
overwrite = FALSE,
create_dir = TRUE,
drive = NULL
)
get_gbci_dir(
path,
dest = NULL,
overwrite = FALSE,
create_dir = TRUE,
drive = NULL
)
Arguments
- path
Path to file or directory on SharePoint
- dest
Where to put the file, and what to name it. Defaults to tempfile/dir
- overwrite
Logical. Should files be overwritten if they aready exist?
- create_dir
Logical. Should the destination directory be created if it doesn't exist?
- drive
Optional. A
Microsoft365R::ms_drive
. Can be passed from parent functions to avoid multiple calls, which can be faster.