Skip to contents

This function reads a SWAT+ input file with a tabular structure into a tibble.

Usage

read_tbl(file_path, col_names = NULL, n_skip = 1)

Arguments

file_path

Path of the SWAT+ input file.

col_names

(optional) A character vector specifying column names. If not provided, column names are inferred from the file. Default col_names = NULL.

n_skip

(optional) Number of header rows to skip. Default n_skip = 1.

Value

A tibble representing the SWAT+ input file.