blob: 0815beac64a3985a02f6b8ef74fce285393da35d [file] [log] [blame]
Marc Kupietzc6160982025-06-24 15:57:51 +02001% 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,
Marc Kupietze52b2952025-07-17 16:53:02 +020020 collectedMatches = NULL,
21 annotations = NULL
Marc Kupietzc6160982025-06-24 15:57:51 +020022)
23}
24\arguments{
25\item{.Object}{}
26
27\item{korapConnection}{KorAPConnection object}
28
29\item{request}{query part of the request URL}
30
31\item{vc}{definition of a virtual corpus}
32
33\item{totalResults}{number of hits the query has yielded}
34
35\item{nextStartIndex}{at what index to start the next fetch of query results}
36
37\item{fields}{what data / metadata fields should be collected}
38
39\item{requestUrl}{complete URL of the API request}
40
41\item{webUIRequestUrl}{URL of a web frontend request corresponding to the API request}
42
43\item{apiResponse}{data-frame representation of the JSON response of the API request}
44
45\item{hasMoreMatches}{logical that signals if more query results can be fetched}
46
47\item{collectedMatches}{matches already fetched from the KorAP-API-server}
Marc Kupietze52b2952025-07-17 16:53:02 +020048
49\item{annotations}{list of annotation data for collected matches}
Marc Kupietzc6160982025-06-24 15:57:51 +020050}
51\description{
52Initialize KorAPQuery object
53}
54\keyword{internal}