blob: beb44adb72464570e7a047d85edba82e9babe0f9 [file] [log] [blame]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/KorAPQuery.R
\name{initialize,KorAPQuery-method}
\alias{initialize,KorAPQuery-method}
\title{Initialize KorAPQuery object}
\usage{
\S4method{initialize}{KorAPQuery}(
.Object,
korapConnection = NULL,
request = NULL,
vc = "",
totalResults = 0,
nextStartIndex = 0,
fields = c("corpusSigle", "textSigle", "pubDate", "pubPlace", "availability",
"textClass", "snippet", "tokens"),
requestUrl = "",
webUIRequestUrl = "",
apiResponse = NULL,
hasMoreMatches = FALSE,
collectedMatches = NULL
)
}
\arguments{
\item{.Object}{}
\item{korapConnection}{KorAPConnection object}
\item{request}{query part of the request URL}
\item{vc}{definition of a virtual corpus}
\item{totalResults}{number of hits the query has yielded}
\item{nextStartIndex}{at what index to start the next fetch of query results}
\item{fields}{what data / metadata fields should be collected}
\item{requestUrl}{complete URL of the API request}
\item{webUIRequestUrl}{URL of a web frontend request corresponding to the API request}
\item{apiResponse}{data-frame representation of the JSON response of the API request}
\item{hasMoreMatches}{logical that signals if more query results can be fetched}
\item{collectedMatches}{matches already fetched from the KorAP-API-server}
}
\description{
Initialize KorAPQuery object
}
\keyword{internal}