View source: R/logger_FLEXIM_F601.R
readLogger_FLEXIM_F601 | R Documentation |
Read Logger File from FLEXIM F601
readLogger_FLEXIM_F601( filename, sep = "\t", dec = ",", timeformat = "%d.%m.%Y %H:%M:%S", headerPattern = "Uhrzeit\tDruck", date_yyyymmdd = substr(basename(filename), 1, 8), dbg = TRUE )
filename |
full path to logger file |
sep |
column separator |
dec |
decimal character |
timeformat |
time format string |
headerPattern |
pattern matching the header line |
date_yyyymmdd |
datestring, by default taken from the filename |
dbg |
if |
http://www.flexim.com/files/tsfluxus_f601v1-5-1de_leu.pdf
# Set path to example file (contained in this package) file <- extdataFile("FLEXIM/example_FLEXIM_F601_short.txt") # Let's have a look on the file structure writeLines(readLines(file)) ## Not run: # Now read the file x <- readLogger_FLEXIM_F601(file) # Show the first lines head(x) # Get the meta data and show its structure str(kwb.utils::getAttribute(x, "metadata")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.