bh_read_header: Read any headers in a RawData file

View source: R/old_code/bluehill_functions.2.R View source: R/bluehill_functions.R

bh_read_headerR Documentation

Read any headers in a RawData file

Description

RawData files can contain header rows that describe the test as parameter : value pairs. This function reads any parameters into a data.table with columns for "type", "var", "value" and "units". A special var blank_row of type information is added at the end with the row number of the end of the header, or 0 if there was no header in the file. This can be passed to bh_read_data.

Usage

bh_read_header(filename)

Arguments

filename

the RawData file to process

Value

A data.table with any parameter : value pairs and the special header blank_row indicating the end of the header, or 0 if there was no header.


yadbor/bluer documentation built on Jan. 31, 2023, 7:44 p.m.