Refactoring and debugging; especially add_trace() and create_glossardict()
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
\alias{create_eventlogs}
|
||||
\title{Creating log events from raw log files.}
|
||||
\usage{
|
||||
create_eventlogs(data)
|
||||
create_eventlogs(data, xmlpath)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{Data frame of raw log files created with \code{parse_logfiles()}.
|
||||
See \code{?parse_logfiles} for more details.}
|
||||
|
||||
\item{xmlpath}{Path to folder where XML definitions of artworks live.}
|
||||
}
|
||||
\value{
|
||||
Data frame.
|
||||
|
||||
@@ -5,12 +5,11 @@
|
||||
\title{Left padding file names of raw log files from Multi-Touch-Table at the
|
||||
IWM.}
|
||||
\usage{
|
||||
leftpad_fnames(x, dirpaths)
|
||||
leftpad_fnames(fnames)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{file name in the form of `yyyy_mm_dd-hh_mm_ss.}
|
||||
|
||||
\item{dirpaths}{Paths on system where files live that should be renamed.}
|
||||
\item{fnames}{File name in the form of \code{yyyy_mm_dd-hh_mm_ss}, possible
|
||||
with missing zero left padding.}
|
||||
}
|
||||
\value{
|
||||
Left padded file names.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
% Please edit documentation in R/parse_logfiles.R
|
||||
\name{parse_logfiles}
|
||||
\alias{parse_logfiles}
|
||||
\title{Creating data frame for raw log files.}
|
||||
\title{Creating data frame from raw log files.}
|
||||
\usage{
|
||||
parse_logfiles(folders, path, file = "rawdata_logfiles.csv", save = TRUE)
|
||||
}
|
||||
@@ -10,7 +10,8 @@ parse_logfiles(folders, path, file = "rawdata_logfiles.csv", save = TRUE)
|
||||
\item{folders}{A character vector of folder names that contain the raw
|
||||
log files from the Multi-Touch-Table at the IWM.}
|
||||
|
||||
\item{path}{A path to the folders.}
|
||||
\item{path}{A path to the folder that contains the folders specified in
|
||||
first argument. Needs to end in a "/"!}
|
||||
|
||||
\item{file}{Name of the file where parsed log files should be saved.
|
||||
Default is "rawdata_logfiles.csv".}
|
||||
@@ -26,5 +27,5 @@ Creates a data frame or CSV file from raw log files from a
|
||||
Multi-Touch-Table at the IWM.
|
||||
}
|
||||
\examples{
|
||||
# parse_logfiles("all", path = "../data/haum_logs_2016-2023/")
|
||||
# parse_logfiles("all", path = "../data/haum/haum_logs_2016-2023/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user