fetchAll,KorAPQuery-method {RKorAPClient} | R Documentation |
Fetch all results of a KorAP query.
Description
fetchAll
fetches all results of a KorAP query.
Usage
## S4 method for signature 'KorAPQuery'
fetchAll(kqo, verbose = kqo@korapConnection@verbose, ...)
Arguments
kqo |
object obtained from |
verbose |
print progress information if true |
... |
further arguments passed to |
Value
The updated kqo
object with all results in @collectedMatches
See Also
Other corpus search functions:
corpusQuery,KorAPConnection-method
,
fetchNext,KorAPQuery-method
Examples
## Not run:
# 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
## End(Not run)
[Package RKorAPClient version 1.1.0 Index]