blob: 67501922d32d77bbf93a763f7a7bfd18efa2a6d7 [file] [log] [blame]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/KorAPQuery.R
\name{fetchAll,KorAPQuery-method}
\alias{fetchAll,KorAPQuery-method}
\alias{fetchAll}
\title{Fetch all results of a KorAP query.}
\usage{
\S4method{fetchAll}{KorAPQuery}(kqo, verbose = kqo@korapConnection@verbose, ...)
}
\description{
\strong{\code{fetchAll}} fetches all results of a KorAP query.
}
\examples{
\dontrun{
# Fetch all metadata of every query hit for "Ameisenplage" and show a summary
q <- KorAPConnection() |>
corpusQuery("Ameisenplage") |>
fetchAll()
q@collectedMatches
# Fetch also all KWICs
q <- KorAPConnection() |> auth() |>
corpusQuery("Ameisenplage", metadataOnly = FALSE) |>
fetchAll()
q@collectedMatches
# Retrieve title and text sigle metadata of all texts published on 1958-03-12
q <- KorAPConnection() |>
corpusQuery("<base/s=t>", # this matches each text once
vc = "pubDate in 1958-03-12",
fields = c("textSigle", "title"),
) |>
fetchAll()
q@collectedMatches
}
}
\seealso{
Other corpus search functions:
\code{\link{corpusQuery,KorAPConnection-method}},
\code{\link{fetchNext,KorAPQuery-method}}
}
\concept{corpus search functions}