Skip to contents

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

Examples

if (FALSE) {
# 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)  
}