read_boulder: Read Boulder-IO formatted files.

Description Usage Arguments Value Functions

View source: R/main.R

Description

Read Boulder-IO formatted files.

Usage

1
2
3

Arguments

strings

Character vector of lines from a Boulder-IO file.

single

By default, a Boulder-IO file contains multiple records, so a list of records is returned. If single=TRUE only a single record object (the first) is returned.

file

File connection object or filename.

Value

A list of records. Each record is also a list of tags (names) and values. If The Boulder-IO record contained multiple lines with the same tag, the values are joined into a single vector in the list. All values are character strings.

Functions


jensenlab/boulderio documentation built on Jan. 1, 2021, 4:35 a.m.