extractObservationData: Extract Observations from EN13508.2-coded file

View source: R/extractObservationData.R

extractObservationDataR Documentation

Extract Observations from EN13508.2-coded file

Description

Extract Observations from EN13508.2-coded file

Usage

extractObservationData(
  euLines,
  headerInfo,
  header.info,
  file = "",
  as.text = FALSE
)

Arguments

euLines

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 euLines 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

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 April 3, 2024, 9:47 a.m.