read_report_file: Read in the iscam report (.rep) file

View source: R/read-report-file.R

read_report_fileR Documentation

Read in the iscam report (.rep) file

Description

Read in the iscam report (.rep) file

Usage

read_report_file(fn)

Arguments

fn

Filename

Details

Read in the iscam report (.rep) file: File structure: It is assumed that each text label will be on its own line, followed by one or more lines of data. If the label is followed by a single value or line of data, a vector will be created to hold the data. If the label is followed by multiple lines of data, a matrix will be created to hold the data. The matrix might be ragged so a check is done ahead of time to ensure correct matrix dimensions.

If a label has another label following it but no data, that label is thrown away and not included in the returned list.

A label must start with an alphabetic character followed by any number of alphanumeric characters (includes underscore and .)

Value

A list representing everything in the report file


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.