Add textMetadata function to retrieve metadata via sigle(s)
Change-Id: I34714bce07635732d0534f83a48865d6d64903da
diff --git a/man/textMetadata-KorAPConnection-method.Rd b/man/textMetadata-KorAPConnection-method.Rd
new file mode 100644
index 0000000..d5a3d23
--- /dev/null
+++ b/man/textMetadata-KorAPConnection-method.Rd
@@ -0,0 +1,29 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/textMetadata.R
+\name{textMetadata,KorAPConnection-method}
+\alias{textMetadata,KorAPConnection-method}
+\alias{textMetadata}
+\title{Retrieve metadata for a text, identified by its sigle (id)}
+\usage{
+\S4method{textMetadata}{KorAPConnection}(kco, textSigle, verbose = kco@verbose)
+}
+\arguments{
+\item{kco}{\code{\link[=KorAPConnection]{KorAPConnection()}} object (obtained e.g. from \code{new("KorAPConnection")})}
+
+\item{textSigle}{unique text id (concatenation of corpus, document and text ids, separated by \code{/}, e.g. ) or vector thereof}
+
+\item{verbose}{logical. If \code{TRUE}, additional diagnostics are printed. Defaults to \code{kco@verbose}.}
+}
+\value{
+Tibble with columns for every metadata property. In case of errors, like non-existing texts/sigles, the tibble will also contain a row called \code{errors}.
+}
+\description{
+Retrieves metadata for a text, identified by its sigle (id) using the corresponding KorAP API
+(see \href{https://github.com/KorAP/Kustvakt/wiki/Service:-Metadata-Retrieval}{Kustvakt Wiki}).
+}
+\examples{
+\dontrun{
+new("KorAPConnection") \%>\% textMetadata(c("WUD17/A97/08542", "WUD17/B96/57558", "WUD17/A97/08541"))
+}
+
+}