extractObservationData_2: Extract Observations from EN13508.2-coded file

View source: R/extractObservationData_2.R

extractObservationData_2R Documentation

Extract Observations from EN13508.2-coded file

Description

Extract Observations from EN13508.2-coded file

Usage

extractObservationData_2(
  text,
  headerInfo,
  header.info,
  file = "",
  as.text = FALSE,
  dbg = TRUE
)

Arguments

text

text lines read from EN13508.2-coded file

headerInfo

data frame with information about header lines

header.info

list as returned by kwb.en13508.2:::getFileHeaderFromEuLines

file

optional. Name of the file from which text were read.

as.text

whether or not to keep columns in their original (character) type. The default is FALSE, i.e. columns that are expected to contain numeric values are converted to numeric, respecting the decimal separator that is given in header.info

dbg

whether or not to show debug messages

Value

data frame with columns A, B, C, ... as defined in EN13508.2 and a column inspno referring to the inspection number.


KWB-R/kwb.en13508.2 documentation built on Feb. 1, 2025, 12:32 p.m.