fetchNext,KorAPQuery-method {RKorAPClient} | R Documentation |
Fetch the next bunch of results of a KorAP query.
Description
fetchNext
fetches the next bunch of results of a KorAP query.
Usage
## S4 method for signature 'KorAPQuery'
fetchNext(
kqo,
offset = kqo@nextStartIndex,
maxFetch = maxResultsPerPage,
verbose = kqo@korapConnection@verbose,
randomizePageOrder = FALSE
)
Arguments
kqo |
object obtained from |
offset |
start offset for query results to fetch |
maxFetch |
maximum number of query results to fetch |
verbose |
print progress information if true |
randomizePageOrder |
fetch result pages in pseudo random order if true. Use |
Value
The kqo
input object with updated slots collectedMatches
, apiResponse
, nextStartIndex
, hasMoreMatches
References
https://ids-pub.bsz-bw.de/frontdoor/index/index/docId/9026
See Also
Other corpus search functions:
corpusQuery,KorAPConnection-method
,
fetchAll,KorAPQuery-method
Examples
## Not run:
q <- KorAPConnection() |>
corpusQuery("Ameisenplage") |>
fetchNext()
q@collectedMatches
## End(Not run)
[Package RKorAPClient version 1.1.0 Index]