mtt/man/extract_topics.Rd

28 lines
748 B
Plaintext
Raw Permalink Normal View History

2023-09-28 16:04:38 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_topics.R
\name{extract_topics}
\alias{extract_topics}
2024-01-02 14:17:50 +01:00
\title{Creating data frame with items and topics}
2023-09-28 16:04:38 +02:00
\usage{
2024-01-02 14:17:50 +01:00
extract_topics(items, xmlfiles, xmlpath)
2023-09-28 16:04:38 +02:00
}
\arguments{
2024-01-02 14:17:50 +01:00
\item{items}{A character vector with names of the items. Needs to
2023-09-28 16:04:38 +02:00
correspond to the folder names which contain the XML files.}
\item{xmlfiles}{Vector of names of index files, often something like
2024-01-02 14:17:50 +01:00
\verb{<item>.xml}. Need to be in the same order as items!}
2023-09-28 16:04:38 +02:00
2024-01-02 14:17:50 +01:00
\item{xmlpath}{Path to folder where XML definitions of items live.}
2023-09-28 16:04:38 +02:00
}
\value{
Data frame.
}
\description{
Topics are extracted from XML files and written to a data frame that
2024-01-02 14:17:50 +01:00
shows which items belong to which topics.
2023-09-28 16:04:38 +02:00
}
\examples{
# tbd
}