Renamed trace into path

This commit is contained in:
2024-01-02 14:17:50 +01:00
parent 46a2ec6e79
commit ec45877229
6 changed files with 71 additions and 74 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ create_eventlogs(
\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.}
\item{xmlpath}{Path to folder where XML definitions of items live.}
\item{case_cutoff}{Number in seconds how long time interval between
different cases should be.}
+1 -1
View File
@@ -19,7 +19,7 @@ correspond to the folder names which contain the XML files.}
Data frame.
}
\description{
Information about artowrks are extracted from XML files and written to a
Information about artworks are extracted from XML files and written to a
data frame that contains \code{artist}, \code{title}, \code{misc}, and \code{description}.
}
\examples{
+6 -6
View File
@@ -2,25 +2,25 @@
% Please edit documentation in R/extract_topics.R
\name{extract_topics}
\alias{extract_topics}
\title{Creating data frame with artworks and topics}
\title{Creating data frame with items and topics}
\usage{
extract_topics(artworks, xmlfiles, xmlpath)
extract_topics(items, xmlfiles, xmlpath)
}
\arguments{
\item{artworks}{A character vector with names of the artworks. Needs to
\item{items}{A character vector with names of the items. Needs to
correspond to the folder names which contain the XML files.}
\item{xmlfiles}{Vector of names of index files, often something like
\verb{<artwork>.xml}. Need to be in the same order as artworks!}
\verb{<item>.xml}. Need to be in the same order as items!}
\item{xmlpath}{Path to folder where XML definitions of artworks live.}
\item{xmlpath}{Path to folder where XML definitions of items live.}
}
\value{
Data frame.
}
\description{
Topics are extracted from XML files and written to a data frame that
shows which artworks belong to which topics.
shows which items belong to which topics.
}
\examples{
# tbd