settings_ini2list: Import a cwatm .ini setting files to a settings List

View source: R/conversion_functions.R

settings_ini2listR Documentation

Import a cwatm .ini setting files to a settings List

Description

This function imports a cwatm .ini settings file and save it as a named settings list

Usage

settings_ini2list(inipath = "./settings_cwatm.ini")

Arguments

inipath

a path to the input .ini settings file.

Details

This function reads a cwatm .ini file from a path and saves it as a named list. Each list item stands for a settings domain, in which all variable definitions are ketp in a data.frame (with 3 columns: variable, value, comment). The funtion does not import comment though.

Value

list. A names setting list )

Examples

## Not run: 
PUT EXAMPLE HERE

## End(Not run)

dof1985/cwatm4r documentation built on Nov. 8, 2022, 7:30 p.m.