get_file_list.RdLists all files under a directory on Google drive folder
get_file_list(rootid = atlantisdrive::rootid, targetDir = NULL)
| rootid | Drive-id. The id to the root Atlantis Folder |
|---|---|
| targetDir | Character. Path to a directory. Default = NULL - returns all files in root |
A tibble containing file name details
Folder/filename
Drive id of folder/filename
list of 33 objects defind in [googledrive](drive_ls)
Other atlantisdrive functions:
gd_exists(),
list_atlantisom_files(),
list_core_files(),
pull_from_drive(),
push_to_drive()
if (FALSE) { # get list of files in the Scenario folder under the root get_file_list() get_file_list(targetDir = "Testing/Model1") get_file_list(targetDir = "Scenario") get_file_list(targetDir = "Scen") get_file_list(targetDir = "ario") }