Description Usage Arguments Value See Also Examples
View source: R/get_file_list.R
Lists all files under a directory on Google drive folder
1 | 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
name |
Folder/filename |
id |
Drive id of folder/filename |
drive_resource |
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()
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.