readLogger_Ori_BasicEx1: Read Logger File from Ori BasicEx1

View source: R/logger_Ori_MLog.R

readLogger_Ori_BasicEx1R Documentation

Read Logger File from Ori BasicEx1

Description

Read Logger File from Ori BasicEx1

Usage

readLogger_Ori_BasicEx1(
  filepath,
  infotype = validInfoTypes(),
  blockbegin = "ORI BasicEx1",
  warn = TRUE,
  sep = ";",
  dec = ",",
  colnameDate = "Datum",
  colnameTime = "Uhrzeit",
  dateformat = .defaultTimeFormat("v5"),
  timeformat = .defaultTimeFormat("v1")
)

Arguments

filepath

full path to file generated by automatic sampler

infotype

one or more of the values returned by validInfoTypes

blockbegin

identification of "block begins"; Default: "ORI BasicEx1"

warn

if TRUE, warnings are generated if a block does not contain "Probe"

sep

column separator

dec

decimal character

colnameDate

name of date column

colnameTime

name of time column

dateformat

date format string

timeformat

time format string

References

http://www.origmbh.de/fileadmin/user_upload/pdf/basic_ex_1_mobil/ORI_Basic_Ex1_mobil_de.pdf

Examples

## Not run: 
# set path to example file (contained in this package)
(file <- extdataFile("Ori/example_Ori_BasicEx1.csv"))

# read the "actions" from the file
readLogger_Ori_BasicEx1(file, infotype = "actions")
  
# read the sample times from the file
readLogger_Ori_BasicEx1(
  file, infotype = "times", blockbegin = "ORI BasicEx1 TU Berlin"
)
  
# read both at the same time
x <- readLogger_Ori_BasicEx1(
  file, blockbegin = "ORI BasicEx1 TU Berlin"
)
  
# examine the list structure of the result
str(x)  

## End(Not run)


KWB-R/kwb.logger documentation built on June 18, 2022, 1:49 a.m.