readEuCodedFile: Read CCTV Inspection Data in EN13508-2 Format

Description Usage Arguments Value

View source: R/import.R

Description

Read CCTV inspection data from file coded according to EN13508-2

Usage

1
2
3
readEuCodedFile(input.file, encoding = "latin1",
  read.inspections = TRUE, simple.algorithm = TRUE, warn = TRUE,
  dbg = TRUE)

Arguments

input.file

full path to text file containing CCTV inspection results in the format described in DIN EN 13508-2

encoding

default: "latin1"

read.inspections

if TRUE, general inspection data (in #B-blocks) are read, otherwise skipped (use if function fails)

simple.algorithm

if TRUE (default), a simple (and faster) algorithm is used to extract the general information about the inspections from the #B-headers. It requires that all #B-headers have the same number and order of fields. If FALSE, another algorithm being able to treat differing #B-header rows is used.

warn

if TRUE, warnings are shown (e.g. if not all #A-header fields were found)

dbg

if TRUE, debug messages are shown, else not

Value

list with elements header.info, inspections, observations


KWB-R/kwb.en13508.2 documentation built on Oct. 22, 2018, 6:24 p.m.