Skip to contents

Loading SWAT+ text files into dataframe

Usage

read_tbl(tbl_name, proj_path, row_data_start = 3, row_col_names = 2)

Arguments

tbl_name

character, name of the file to be read eaxmple ('rout_unit.con').

proj_path

character, path to SWAT+ txtinout folder (example "my_model").

row_data_start

numeric, row number from which data are being written. Optional, default = 3.

row_col_names

numeric, row nu,mber in which column names are being written. Optional, default = 2.

Value

dataframe with information from text file

Examples

if (FALSE) {
df <- read_tbl('rout_unit.con', 'model_folder', 3, 2) 
}