read_dst_header.Rd
The data header in .DAT file containing a detailed description of how the *.DAT file is configured. This feature is used by SeaStar when graphically
read_dst_header(fil, long = TRUE)
a tibble with header data and detail file information
library(staroddi)
header <- read_dst_header(system.file("demos/1M9380.DAT", package = "staroddi"))
header
#> # A tibble: 34 × 3
#> var val comment
#> <chr> <chr> <chr>
#> 1 Date-time: 15.12.2010 12:01:48 NA
#> 2 Recorder: 1M9380 NA
#> 3 File type: 1 NA
#> 4 Columns: 4 NA
#> 5 Channels: 2 NA
#> 6 Field separation: 0 tab
#> 7 Decimal point: 1 .
#> 8 Date def.: 01 NA
#> 9 Time def.: 0 NA
#> 10 Channel 1: Temperature(°C) tempe
#> # ℹ 24 more rows