Description Usage Arguments Value See Also Examples
View source: R/pull_from_drive.R
Used for pulling archived Atlantis runs into the users workspace.
1 2 3 4 5 6 | pull_from_drive(
localPath = here::here(),
fileList,
googledriveFolder,
rootid = atlantisdrive::rootid
)
|
localPath |
Character string. Path to local Atlantis output directory. Files will be pulled to this directtory. Default = here::here() |
fileList |
Character vector. Files name(s) that need to be pulled from Google Drive. Alternatively any character string present in file name |
googledriveFolder |
Character String. Name of directory on google Drive to pull. |
rootid |
Drive-id. Atlantis root id on google drive. (Default id for NEFSC is bundled in this package) |
Files are pulled to local drive
Other atlantisdrive functions:
gd_exists()
,
get_file_list()
,
list_atlantisom_files()
,
list_core_files()
,
push_to_drive()
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Pulls all xml files from the Development Folder to your current working directory
pull_from_drive(fileList="xml",googledriveFolder="Development")
# Pulls all files with the string "ATLNTS-2" present in its filename to the "output" folder in your project
pull_from_drive(localPath = here::here("output"),fileList="ATLNTS-2",googledriveFolder="Development")
# Pulls selected files from the Scenario Folder
filesToPull <- c("file1.jpg","file2.txt","file3.bmg")
pull_from_drive(fileList=filesToPull,googledriveFolder="Scenario")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.