Update textMetadata documentation
Change-Id: I469d3c954688efd078ba3cb442a18891fa3ea36f
diff --git a/R/textMetadata.R b/R/textMetadata.R
index 8984967..a0b115a 100644
--- a/R/textMetadata.R
+++ b/R/textMetadata.R
@@ -8,6 +8,8 @@
#' @description
#' Retrieves metadata for a text, identified by its sigle (id) using the corresponding KorAP API
#' (see [Kustvakt Wiki](https://github.com/KorAP/Kustvakt/wiki/Service:-Metadata-Retrieval)).
+#' To retrieve the metadata for every text in a virtual corpus, use [corpusQuery()]
+#' with `<base/s=t>` as query, instead.
#'
#'
#' @param kco [KorAPConnection()] object (obtained e.g. from `KorAPConnection()`)
@@ -24,7 +26,7 @@
#'
#' @examples
#' \dontrun{
-#' KorAPConnection() %>% textMetadata(c("WUD17/A97/08542", "WUD17/B96/57558", "WUD17/A97/08541"))
+#' KorAPConnection() |> textMetadata(c("WUD17/A97/08542", "WUD17/B96/57558", "WUD17/A97/08541"))
#' }
#'
#' @export