Write example SWAT TxtInOut files to a local folder
Source:R/project_setup_and_execution.R
get_swat_example.RdExtracts the example SWAT input files stored in swat_txtinout_data
and writes them under the TxtInOut subfolder of path. This
provides a self-contained example SWAT project for testing and tutorials.
See also
Other Project setup and execution:
download_swat_exe(),
run_swat(),
run_swat_exe(),
setup_swat()
Examples
# \donttest{
# Write files to a temporary directory
path <- tempdir()
get_swat_example(path)
# Inspect files
list.files(file.path(path, "TxtInOut"))
# }