Marc Kupietz | c616098 | 2025-06-24 15:57:51 +0200 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/KorAPQuery.R |
| 3 | \name{initialize,KorAPQuery-method} |
| 4 | \alias{initialize,KorAPQuery-method} |
| 5 | \title{Initialize KorAPQuery object} |
| 6 | \usage{ |
| 7 | \S4method{initialize}{KorAPQuery}( |
| 8 | .Object, |
| 9 | korapConnection = NULL, |
| 10 | request = NULL, |
| 11 | vc = "", |
| 12 | totalResults = 0, |
| 13 | nextStartIndex = 0, |
| 14 | fields = c("corpusSigle", "textSigle", "pubDate", "pubPlace", "availability", |
| 15 | "textClass", "snippet", "tokens"), |
| 16 | requestUrl = "", |
| 17 | webUIRequestUrl = "", |
| 18 | apiResponse = NULL, |
| 19 | hasMoreMatches = FALSE, |
| 20 | collectedMatches = NULL |
| 21 | ) |
| 22 | } |
| 23 | \arguments{ |
| 24 | \item{.Object}{…} |
| 25 | |
| 26 | \item{korapConnection}{KorAPConnection object} |
| 27 | |
| 28 | \item{request}{query part of the request URL} |
| 29 | |
| 30 | \item{vc}{definition of a virtual corpus} |
| 31 | |
| 32 | \item{totalResults}{number of hits the query has yielded} |
| 33 | |
| 34 | \item{nextStartIndex}{at what index to start the next fetch of query results} |
| 35 | |
| 36 | \item{fields}{what data / metadata fields should be collected} |
| 37 | |
| 38 | \item{requestUrl}{complete URL of the API request} |
| 39 | |
| 40 | \item{webUIRequestUrl}{URL of a web frontend request corresponding to the API request} |
| 41 | |
| 42 | \item{apiResponse}{data-frame representation of the JSON response of the API request} |
| 43 | |
| 44 | \item{hasMoreMatches}{logical that signals if more query results can be fetched} |
| 45 | |
| 46 | \item{collectedMatches}{matches already fetched from the KorAP-API-server} |
| 47 | } |
| 48 | \description{ |
| 49 | Initialize KorAPQuery object |
| 50 | } |
| 51 | \keyword{internal} |