list_core_files: List of Core files used in Atlantis

Description Usage Arguments Value See Also Examples

View source: R/list_core_files.R

Description

Compiles a list of file names based on file extension (e.g. nc, txt, ts, xml, bgm)

Usage

1
2
3
4
list_core_files(
  path = here::here(),
  filesToInclude = c("txt", "nc", "ts", "xml", "bgm")
)

Arguments

path

Character string. Path to location of atlantis output files

filesToInclude

Character vector. Types of files to copy (Default = ("txt","nc","ts","xml","bgm"))

Value

A character vector containing the names of all of the files to be copied to the google drive

See Also

Other atlantisdrive functions: gd_exists(), get_file_list(), list_atlantisom_files(), pull_from_drive(), push_to_drive()

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# create a list of all xml files in your projects "output" folder
list_core_files(path=here::here("output"),filesToInclude=c("xml"))

# create a list of all xml and ts files in your projects "test" folder
list_core_files(path=here::here("test"),filesToInclude=c("xml","ts"))


## End(Not run)

andybeet/atlantisdrive documentation built on April 9, 2021, 1:49 p.m.